[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:28:28 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 Review
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Comment (by kawauso):
Both patches are the same?
Also, `is_numeric()` would preserve the validation aspect (string values
for a position sound bad to me) while not requiring an integer.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16856#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list