WordPress.org

Make WordPress Core

Ticket #20952: 20952.diff

File 20952.diff, 1.1 KB (added by obenland, 3 years ago)
  • wp-content/themes/twentyeleven/searchform.php

     
    88 */ 
    99?> 
    1010        <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 
    11                 <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label> 
    12                 <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 
    13                 <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 
     11                <label for="s" class="assistive-text"><?php _ex( 'Search', 'Assistive text', 'twentyeleven' ); ?></label> 
     12                <input type="text" class="field" name="s" id="s" placeholder="<?php echo esc_attr_x( 'Search', 'Placeholder', 'twentyeleven' ); ?>" /> 
     13                <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'Submit', 'twentyeleven' ); ?>" /> 
    1414        </form>