Make WordPress Core

Opened 6 weeks ago

#44103 new feature request

change the type attribute of #menu_order from 'text' to 'number'

Reported by: tmatsuur Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.5
Component: General Keywords:
Focuses: Cc:


Currently, when focus shifts to the input box of menu_order in the situation that the IME is turned on, an extra operation such as inputting a numerical value after turning off the IME is necessary. I would like to improve on this.


<input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />


<input name="menu_order" type="number" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />

Also, please add a style to specify the width.

Change History (0)

Note: See TracTickets for help on using tickets.