[wp-trac] [WordPress Trac] #30236: Trigger widget-added event in Customizer when initializing

WordPress Trac noreply at wordpress.org
Tue Nov 11 22:45:49 UTC 2014


#30236: Trigger widget-added event in Customizer when initializing
--------------------------+-------------------------
 Reporter:  westonruter   |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30308"]:
 {{{
 #!CommitTicketReference repository="" revision="30308"
 Customizer: Trigger `widget-added` event when initializing.

 Widget controls are now added to the pane dynamically via JavaScript, see
 #28709.
 Remove the event trigger from `SidebarControl.addWidget()` as it's covered
 by `WidgetControl.ready()`.

 props westonruter.
 fixes #30236.
 }}}

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


More information about the wp-trac mailing list