[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 11:01:56 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:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.8
Component:  Widgets       |     Version:  5.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51141" 51141]:
 {{{
 #!CommitTicketReference repository="" revision="51141"
 Docs: Document the usage of `$wp_widget_factory` global in
 `WP_Customize_Widgets::sanitize_widget_instance()`.

 Follow-up to [50996].

 Props jontyravi, audrasjb.
 Fixes #53394.
 }}}

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


More information about the wp-trac mailing list