[wp-trac] [WordPress Trac] #30236: Trigger widget-added event in Customizer when initializing
WordPress Trac
noreply at wordpress.org
Mon Nov 3 23:14:20 UTC 2014
#30236: Trigger widget-added event in Customizer when initializing
--------------------------+-------------------------
Reporter: westonruter | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.1
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by westonruter):
Good point. So what do you think about removing the `trigger` from the
latter? It is now going to be done in `ready` every time now regardless.
And actually, the one inside of `addWidget` could technically fire before
the control is even added to the DOM, since a control will wait to embed
its container until its containing section also gets embedded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30236#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list