[wp-trac] Re: [WordPress Trac] #10300: Optimization in wp_get_sidebars_widgets() corrupts the widgets

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 1 02:31:36 UTC 2009


#10300: Optimization in wp_get_sidebars_widgets() corrupts the widgets
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  azaozz
     Type:  defect (bug)       |      Status:  new   
 Priority:  normal             |   Milestone:  2.8.1 
Component:  Widgets            |     Version:  2.8   
 Severity:  normal             |    Keywords:        
-------------------------------+--------------------------------------------

Comment(by azaozz):

 As `update_option('sidebars_widgets', $sidebars_widgets);` is not run from
 the front-end (unless a plugin or theme does it which is incorrect) the
 filtered $sidebars_widgets would not get saved in the db. Unfortunately
 some plugins and themes seem to apply this filter on the back-end too but
 the changes they make are designed for the front-end.

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


More information about the wp-trac mailing list