[wp-trac] [WordPress Trac] #19092: Inactive sidebar box can be on the wrong place in one situation

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 18 09:24:21 UTC 2011


#19092: Inactive sidebar box can be on the wrong place in one situation
--------------------------+-----------------------
 Reporter:  ocean90       |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reopened
 Priority:  high          |   Milestone:  3.3
Component:  Widgets       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 [19332] breaks the sidebars mapping feature. When switching from Twenty
 Eleven to Twenty Ten, all widgets end up as inactive.

 Also causes a notice:
 {{{
 NOTICE: wp-includes/widgets.php:1244 - Undefined index:
 wp_inactive_widgets
 }}}

 Wouldn't [attachment:19092.patch] be the proper solution here?

 The `wp_inactive_widgets` and `orphaned_widgets` check is based on the one
 from `wp-admin/widgets.php`:
 http://core.trac.wordpress.org/browser/trunk/wp-admin/widgets.php#L367

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


More information about the wp-trac mailing list