WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/27/2014 01:42:49 PM (6 years ago)
Author:
ocean90
Message:

Add missing screen-reader-text CSS class in [29294].

see #28867.

File:
1 edited

Legend:

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

    r29294 r29308  
    642642            $html_current_page = $current;
    643643        } else {
    644             $html_current_page_label = "<label for='current-page-selector'>" . __( 'Select Page' ) . "</label>";
    645             $html_current_page = $html_current_page_label . sprintf( "<input class='current-page' id='current-page-selector' title='%s' type='text' name='paged' value='%s' size='%d' />",
     644            $html_current_page = sprintf( "%s<input class='current-page' id='current-page-selector' title='%s' type='text' name='paged' value='%s' size='%d' />",
     645                '<label for="current-page-selector" class="screen-reader-text">' . __( 'Select Page' ) . '</label>',
    646646                esc_attr__( 'Current page' ),
    647647                $current,
Note: See TracChangeset for help on using the changeset viewer.