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: http://svn.automattic.com/wordpress/trunk@20198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-16 04:04:07 +00:00
parent 9ef7cbbdd8
commit 1af728f890
1 changed files with 1 additions and 1 deletions

View File

@ -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 )