[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 00:59:03 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 Viper007Bond):

 Replying to [comment:3 SergeyBiryukov]:
 > The patch also fixes the notice when
 `$sidebars_widgets['wp_inactive_widgets']` is not defined.

 Perfect. I caught that too but didn't want to open a ticket for this edge
 case. Two birds, one stone.

 +1 to patch.


 Oh, and I tracked down where the bad option value was coming from: the
 Automattic theme I'm using was overwriting the `sidebars_widgets` value if
 the sidebar was empty. I've fixed it upstream.

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


More information about the wp-trac mailing list