[wp-trac] [WordPress Trac] #9709: is_active_widget() nested logic
is broken
WordPress Trac
wp-trac at lists.automattic.com
Sun May 3 03:03:14 GMT 2009
#9709: is_active_widget() nested logic is broken
--------------------------+-------------------------------------------------
Reporter: DD32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Widgets | Version: 2.8
Severity: major | Keywords: has-patch
--------------------------+-------------------------------------------------
In short, is_active_widget() isnt working as expected, Its not looping
over all sidebars (and then widgets on each sidebar), mearly looping over
each widget on the last sidebar.
The problem exists because there are no brackets on the sidebar loop, So
its mearly looping over a if/continue..
I'm not sure how long this has been broken though.. I only noticed it
because of a "$widgets is not set" notice on an clean install.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9709>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list