WordPress.org

Make WordPress Core

Changeset 38141


Ignore:
Timestamp:
07/22/16 14:50:22 (17 months ago)
Author:
ocean90
Message:

Plugins: Make search field placeholder translatable.

See #37230.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r38081 r38141  
    367367        <p class="search-box"> 
    368368            <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 
    369             <input type="search" id="<?php echo $input_id ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php echo esc_attr( 'Search installed plugins...' ); ?>"/> 
     369            <input type="search" id="<?php echo $input_id ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>"/> 
    370370            <input type="submit" id="search-submit" class="button hide-if-js" value="<?php echo esc_attr( $text ); ?>"> 
    371371        </p> 
Note: See TracChangeset for help on using the changeset viewer.