[wp-trac] [WordPress Trac] #47690: remove_submenu_page() doesn't remove corresponding entry from $_wp_submenu_nopriv

WordPress Trac noreply at wordpress.org
Sun Jul 28 09:58:02 UTC 2019


#47690: remove_submenu_page() doesn't remove corresponding entry from
$_wp_submenu_nopriv
----------------------------+-----------------------------
 Reporter:  johnbillion     |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.3
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  administration
----------------------------+-----------------------------
Changes (by donmhico):

 * Attachment "47690.diff" added.

 Reverse the actions from add_submenu_page() and changed the parameter
 variable names to be consistent with add_submenu_page()

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47690>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list