[wp-trac] [WordPress Trac] #40927: Passing a float as the position in add_menu_page can override other menu items
WordPress Trac
noreply at wordpress.org
Tue Jun 6 23:08:55 UTC 2017
#40927: Passing a float as the position in add_menu_page can override other menu
items
----------------------------+------------------------------
Reporter: justinbusa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+------------------------------
Comment (by justinbusa):
@dd32 I agree as `$position` should always be either an int or a string.
New patch attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40927#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list