[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:26:35 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  |
-------------------------------------+--------------------
Changes (by scribu):

 * keywords:  has-patch dev-feedback needs-testing => has-patch needs-
               testing
 * milestone:  Awaiting Review => 3.1.1


Comment:

 [attachment:16856.2.diff] looks good.

 Allowing strings as menu positions is an interesting idea, but it kind of
 breaks the paradigm.

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


More information about the wp-trac mailing list