Make WordPress Core

Changeset 29659


Ignore:
Timestamp:
09/01/2014 07:53:37 PM (10 years ago)
Author:
helen
Message:

Media: Translate a string for the search placeholder.

props alex-ye.
fixes #29448.

File:
1 edited

Legend:

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

    r29641 r29659  
    209209    <div class="search-form">
    210210        <label for="media-search-input" class="screen-reader-text"><?php esc_html_e( 'Search Media' ); ?></label>
    211         <input type="search" placeholder="Search" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div>
     211        <input type="search" placeholder="<?php esc_attr_e( 'Search' ) ?>" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div>
    212212    </div>
    213213    <?php
Note: See TracChangeset for help on using the changeset viewer.