Changeset 38146 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 07/23/2016 10:58:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r38028 r38146 336 336 337 337 /** 338 * Display the search box.339 * 340 * @since 3.1.0 341 * @access public 342 * 343 * @param string $text The search button text344 * @param string $input_id The search input id338 * Displays the search box. 339 * 340 * @since 3.1.0 341 * @access public 342 * 343 * @param string $text The 'submit' button label. 344 * @param string $input_id ID attribute value for the search input field. 345 345 */ 346 346 public function search_box( $text, $input_id ) { … … 360 360 ?> 361 361 <p class="search-box"> 362 <label class="screen-reader-text" for="<?php echo $input_id?>"><?php echo $text; ?>:</label>363 <input type="search" id="<?php echo $input_id?>" name="s" value="<?php _admin_search_query(); ?>" />364 <?php submit_button( $text, 'button', '', false, array( 'id' => 'search-submit') ); ?>362 <label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label> 363 <input type="search" id="<?php echo esc_attr( $input_id ); ?>" name="s" value="<?php _admin_search_query(); ?>" /> 364 <?php submit_button( $text, 'button', '', false, array( 'id' => 'search-submit' ) ); ?> 365 365 </p> 366 366 <?php
Note: See TracChangeset
for help on using the changeset viewer.