[wp-trac] [WordPress Trac] #53394: @global $wp_widget_factory is used but not define in documentation of this function sanitize_widget_instance( $value, $id_base = null )

WordPress Trac noreply at wordpress.org
Mon Jun 14 08:01:00 UTC 2021


#53394: @global $wp_widget_factory is used but not define in documentation of this
function sanitize_widget_instance( $value, $id_base = null )
-------------------------------------+------------------------------
 Reporter:  jontyravi                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Widgets                  |     Version:  5.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  docs
-------------------------------------+------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch needs-refresh
 * component:  Media => Widgets


Comment:

 Hello @jontyravi, thank you for the patch(s),

 It looks like there is a small indentation issue on the line you added.
 Also, there should be a new empty line between @since and @global
 declarations.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53394#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list