[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
Wed Jun 7 00:54:14 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 dd32):
Thanks for catching that! [attachment:40927.3.diff] looks good to me.
I'll loop back onto this later to test it properly, and see if there's any
unit testing opportunity here (not an easy one I don't think).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40927#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list