Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350

git-svn-id: https://develop.svn.wordpress.org/trunk@19453 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-11-25 20:00:21 +00:00
parent 67d5755f87
commit c101a7edb4
1 changed files with 2 additions and 2 deletions

View File

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