[wp-trac] [WordPress Trac] #32422: add_menu_page() returns incorrect $hookname when using plugin filename as $menu_slug

WordPress Trac noreply at wordpress.org
Tue Nov 10 23:56:23 UTC 2015


#32422: add_menu_page() returns incorrect $hookname when using plugin filename as
$menu_slug
--------------------------+------------------------------
 Reporter:  quinncom      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by johnjamesjacoby):

 Related: #16238, #28226.

 Perhaps also related, the menu manipulation functions also do not return
 adequate `-network` or `-user` suffixes.

 Incoming patch will attempt to address all of these issues together.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32422#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list