mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f1ef47ded2
commit
952187eb76
@ -95,10 +95,10 @@ foreach ( $sidebars_widgets as $sidebar_id => $widgets ) {
|
||||
if ( !isset( $wp_registered_sidebars[ $sidebar_id ] ) ) {
|
||||
if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar
|
||||
register_sidebar(array(
|
||||
'name' => __( 'Inactive Sidebar (from previous theme)' ),
|
||||
'name' => __( 'Inactive Sidebar (not used)' ),
|
||||
'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' ),
|
||||
'description' => __( 'This sidebar is no longer available and does not show anywhere on your site. Remove each of the widgets below to fully remove this inactive sidebar.' ),
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
|
Loading…
Reference in New Issue
Block a user