[wp-trac] [WordPress Trac] #32417: Add new core media widget

WordPress Trac noreply at wordpress.org
Tue Jul 11 22:46:47 UTC 2017


#32417: Add new core media widget
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:  melchoyce
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  4.8
Component:  Widgets                              |     Version:  4.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-unit-tests has-patch ux-       |     Focuses:  ui,
  feedback needs-dev-note                        |  administration
-------------------------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"41028"]:
 {{{
 #!CommitTicketReference repository="" revision="41028"
 Widgets: Enqueue assets needed by media and text widgets in their
 `_register_one()` methods.

 The `WP_Widget::_register_one()` method is more guaranteed to be called as
 opposed to its wrapper `WP_Widget::_register()` which plugins may bypass
 for performance reasons.

 Amends [40631], [40640].
 See #35243, #32417.
 Fixes #41021.
 }}}

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


More information about the wp-trac mailing list