Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350

git-svn-id: https://develop.svn.wordpress.org/trunk@19452 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-11-25 19:46:41 +00:00
parent 6f06a70ecc
commit 67d5755f87
1 changed files with 1 additions and 1 deletions

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