mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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 )
|
||||
$html_current_page = $current;
|
||||
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' ),
|
||||
$current,
|
||||
strlen( $total_pages )
|
||||
|
Loading…
x
Reference in New Issue
Block a user