[wp-trac] [WordPress Trac] #18598: When "sidebars_widgets" option is malformed, an infinite loop occurs

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 6 18:46:16 UTC 2011


#18598: When "sidebars_widgets" option is malformed, an infinite loop occurs
--------------------------+------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Widgets       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by azaozz):

 This ticket seems to touch the "Death: remove (finally) compat functions
 from the widgets API and cleanup converting of old settings (will require
 copious unit tests first)" point in the
 [http://wpdevel.wordpress.com/2011/07/27/wordpress-3-3-proposed-scope/ 3.3
 schedule].

 IMHO the whole `switch ( $sidebars_widgets['array_version'] )` block must
 go. It was added to aid upgrading to WP 2.8. We still could detect
 `$array_version != 3` and delete the whole thing as incompatible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18598#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list