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

see #28867.

git-svn-id: https://develop.svn.wordpress.org/trunk@29308 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2014-07-27 13:42:49 +00:00
parent db77bc8bff
commit 0e42ce2dc0

View File

@ -641,8 +641,8 @@ class WP_List_Table {
if ( 'bottom' == $which ) {
$html_current_page = $current;
} else {
$html_current_page_label = "<label for='current-page-selector'>" . __( 'Select Page' ) . "</label>";
$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' />",
$html_current_page = sprintf( "%s<input class='current-page' id='current-page-selector' title='%s' type='text' name='paged' value='%s' size='%d' />",
'<label for="current-page-selector" class="screen-reader-text">' . __( 'Select Page' ) . '</label>',
esc_attr__( 'Current page' ),
$current,
strlen( $total_pages )