From f1ef47ded2ba0f5709d97b730324e2fd3f61952d Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 25 Nov 2011 19:46:41 +0000 Subject: [PATCH] Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350 git-svn-id: http://svn.automattic.com/wordpress/trunk@19452 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 48aad4061..293cd94dc 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -96,7 +96,7 @@ foreach ( $sidebars_widgets as $sidebar_id => $widgets ) { if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar register_sidebar(array( 'name' => __( 'Inactive Sidebar (from previous theme)' ), - 'id' => $sidebar_id, + 'id' => 'orphaned_widgets-' . $sidebar_id, 'class' => 'inactive-sidebar orphan-sidebar', 'description' => __( 'This is a left over sidebar from an old theme and does not show anywhere on your site' ), 'before_widget' => '',