mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
b41176ce79
commit
f1ef47ded2
@ -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