[wp-trac] [WordPress Trac] #16856: When registering custom post type, menu_position isn't honored if it's a number passed as a string

WordPress Trac noreply at wordpress.org
Sun Mar 31 02:52:01 UTC 2013


#16856: When registering custom post type, menu_position isn't honored if it's a
number passed as a string
-------------------------------------+-----------------------------
 Reporter:  nathanrice               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Administration           |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by sc0ttkclark):

 This one is really bothering me, really wish it could handle floats like
 20.1 etc.. which would be covered by is_numeric() vs a strict is_int()
 check.

 Can someone who could bless this for 3.7 explain what it would take for
 this ticket to move forward? Updated patch is one thing, but I wouldn't
 want to update it and then it not move forward.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16856#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list