[wp-trac] [WordPress Trac] #18598: When "sidebars_widgets" option is malformed, an infinite loop occurs
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 29 21:41:28 UTC 2011
#18598: When "sidebars_widgets" option is malformed, an infinite loop occurs
--------------------------+---------------------
Reporter: Viper007Bond | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.3
Component: Widgets | Version: 3.3
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [18821]:
{{{
#!CommitTicketReference repository="" revision="18821"
* Move the old sidebars_widgets array upgrade code to wp-
admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from
wp_get_sidebars_widgets().
* Combine a couple of !empty( $sidebars_widgets ) checks in
retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18598#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list