[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 wp-trac at lists.automattic.com
Mon Mar 14 18:53:25 UTC 2011


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

Comment (by nathanrice):

 Oh, and backward compatibility shouldn't be an issue, since the numeric
 positions should easily correspond to a menu section. The real weakness is
 allowing people to position their menus within sections. I understand that
 a CPT doesn't necessarily belong below Comments, for instance. Probably
 not an insurmountable problem, but one worth noting.

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


More information about the wp-trac mailing list