[wp-trac] [WordPress Trac] #44103: change the type attribute of #menu_order from 'text' to 'number'

WordPress Trac noreply at wordpress.org
Mon Feb 10 19:07:10 UTC 2025


#44103: change the type attribute of #menu_order from 'text' to 'number'
-----------------------------------------+-----------------------------
 Reporter:  tmatsuur                     |       Owner:  (none)
     Type:  enhancement                  |      Status:  reopened
 Priority:  normal                       |   Milestone:  Future Release
Component:  Editor                       |     Version:  4.9.5
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:
-----------------------------------------+-----------------------------
Changes (by sabernhardt):

 * status:  closed => reopened
 * type:  feature request => enhancement
 * component:  General => Editor
 * milestone:   => Future Release
 * keywords:  has-patch ux-feedback reporter-feedback => has-patch changes-
     requested
 * resolution:  wontfix =>


Comment:

 This involves both Quick Edit and the Classic Editor.

 #62109 added the `inputmode` attribute for datetime fields, but I think
 `type="number"` would be better for the pages' Order field:
 - using `tiny-text` class with the Quick Edit field because the width is
 already defined as `6em`
 - using `small-text` class with the meta box field

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44103#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list