[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 17:59:10 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:  Awaiting
Component:  Administration                       |  Review
 Severity:  normal                               |     Version:  3.1
 Keywords:  has-patch dev-feedback needs-        |  Resolution:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by nathanrice):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-testing


Comment:

 @kawauso
 I like that idea too. I'm not as averse to the idea of text strings as you
 are, but this seems like it would make everyone happy.

 It's probably a good idea to add this check on add_menu_page() too.

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


More information about the wp-trac mailing list