Remove type='number' from list table page inputs out of a concern for UX, as well as styling issues. fixes #20247. see #17863 for further discussion.
git-svn-id: https://develop.svn.wordpress.org/trunk@20198 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7d868db67b
commit
a30c7c32c4
@ -519,7 +519,7 @@ class WP_List_Table {
|
|||||||
if ( 'bottom' == $which )
|
if ( 'bottom' == $which )
|
||||||
$html_current_page = $current;
|
$html_current_page = $current;
|
||||||
else
|
else
|
||||||
$html_current_page = sprintf( "<input class='current-page' title='%s' type='number' step='1' min='1' name='paged' value='%s' size='%d' />",
|
$html_current_page = sprintf( "<input class='current-page' title='%s' type='text' name='paged' value='%s' size='%d' />",
|
||||||
esc_attr__( 'Current page' ),
|
esc_attr__( 'Current page' ),
|
||||||
$current,
|
$current,
|
||||||
strlen( $total_pages )
|
strlen( $total_pages )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user