WordPress.org

Make WordPress Core

Ticket #17979: update-inactive-sidebar-text.diff

File update-inactive-sidebar-text.diff, 938 bytes (added by chrisbliss18, 2 years ago)

Update Inactive Sidebar text to make explanation more generic

  • wp-admin/widgets.php

     
    6565        if ( !isset( $wp_registered_sidebars[ $sidebar_id ] ) ) { 
    6666                if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar 
    6767                        register_sidebar(array( 
    68                                 'name' => __( 'Inactive Sidebar (from previous theme)' ), 
     68                                'name' => __( 'Inactive Sidebar (not used)' ), 
    6969                                'id' => $sidebar_id, 
    7070                                'class' => 'inactive-sidebar orphan-sidebar', 
    71                                 'description' => __( 'This is a left over sidebar from an old theme and does not show anywhere on your site' ), 
     71                                '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.' ), 
    7272                                'before_widget' => '', 
    7373                                'after_widget' => '', 
    7474                                'before_title' => '',