Add missing `screen-reader-text` CSS class in [29294].
see #28867. Built from https://develop.svn.wordpress.org/trunk@29308 git-svn-id: http://core.svn.wordpress.org/trunk@29090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3524302a52
commit
7a67693b37
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue