[wp-trac] [WordPress Trac] #14876: wp_get_sidebars_widgets() assumes that widgets are enabled
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 21 13:46:32 UTC 2010
#14876: wp_get_sidebars_widgets() assumes that widgets are enabled
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: reopened
Priority: lowest | Milestone: 3.1
Component: Widgets | Version:
Severity: minor | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by nacin):
* status: closed => reopened
* resolution: fixed =>
Comment:
Turns out that is_active_widget() would be called before widgets_init,
inside the default widget constructors. Thus, no sidebars would be
registered, and we get false returned.
Reverting [15994] for now. This was noticed when trying to add a filter to
#15493.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14876#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list