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
This commit is contained in:
azaozz 2011-11-25 19:46:41 +00:00
parent b41176ce79
commit f1ef47ded2

View File

@ -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' => '',