WordPress.org

Make WordPress Core

Ticket #19350: 19350.2.patch

File 19350.2.patch, 965 bytes (added by SergeyBiryukov, 2 years ago)
  • wp-admin/widgets.php

     
    9595        if ( !isset( $wp_registered_sidebars[ $sidebar_id ] ) ) { 
    9696                if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar 
    9797                        register_sidebar(array( 
    98                                 'name' => __( 'Inactive Sidebar (from previous theme)' ), 
     98                                'name' => __( 'Inactive Sidebar (not used)' ), 
    9999                                'id' => 'orphaned_widgets-' . $sidebar_id, 
    100100                                'class' => 'inactive-sidebar orphan-sidebar', 
    101                                 'description' => __( 'This is a left over sidebar from an old theme and does not show anywhere on your site' ), 
     101                                '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.' ), 
    102102                                'before_widget' => '', 
    103103                                'after_widget' => '', 
    104104                                'before_title' => '',