[wp-trac] [WordPress Trac] #17979: Avoid losing widgets when switching themes

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 21:41:27 UTC 2011


#17979: Avoid losing widgets when switching themes
-------------------------------------+---------------------
 Reporter:  lancewillett             |       Owner:  ryan
     Type:  task (blessed)           |      Status:  closed
 Priority:  high                     |   Milestone:  3.3
Component:  Widgets                  |     Version:  2.9
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------
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/17979#comment:106>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list