WordPress.org

Make WordPress Core

Ticket #16543: 16543.diff

File 16543.diff, 1.3 KB (added by garyc40, 3 years ago)

restore original text, also change "Search Themes" to "Search Installed Themes" to be more consistent

  • wp-admin/plugins.php

    diff --git wp-admin/plugins.php wp-admin/plugins.php
    index 0c36bbd..329a594 100644
    if ( $s ) 
    402402 
    403403<form method="post" action=""> 
    404404 
    405 <?php $wp_list_table->search_box( __( 'Search Plugins' ), 'plugin' ); ?> 
     405<?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?> 
    406406 
    407407<input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" /> 
    408408<input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" /> 
  • wp-admin/themes.php

    diff --git wp-admin/themes.php wp-admin/themes.php
    index 171a0b2..d0375a3 100644
    if ( ! current_user_can( 'switch_themes' ) ) { 
    147147<form class="search-form filter-form" action="" method="get"> 
    148148 
    149149<p class="search-box"> 
    150         <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Themes'); ?>:</label> 
     150        <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label> 
    151151        <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    152         <?php submit_button( __( 'Search Themes' ), 'button', 'submit', false ); ?> 
     152        <?php submit_button( __( 'Search Installed Themes' ), 'button', 'submit', false ); ?> 
    153153        <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 
    154154</p> 
    155155