[wp-trac] Re: [WordPress Trac] #9770: dynamic_sidebar() should not save widgets on theme preview

WordPress Trac wp-trac at lists.automattic.com
Sun May 10 06:52:44 GMT 2009


#9770: dynamic_sidebar() should not save widgets on theme preview
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                        
     Type:  defect (bug)       |      Status:  new                   
 Priority:  normal             |   Milestone:  2.8                   
Component:  Widgets            |     Version:  2.8                   
 Severity:  minor              |    Keywords:  has-patch dev-feedback
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 Actually, it's:

 {{{
 wp_get_sidebars_widgets($update = true)
 }}}

 And the update occurs if $update is true and is_admin(), rather than if
 the array_version is not 3 and is_admin(). But agreed, it's a rather
 minor.

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


More information about the wp-trac mailing list