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:
parent
6f06a70ecc
commit
67d5755f87
@ -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' => '',
|
||||
|
Loading…
Reference in New Issue
Block a user