[wp-trac] [WordPress Trac] #24531: Add subpage_file Filter Before Admin Menu

WordPress Trac noreply at wordpress.org
Thu Sep 3 21:20:11 UTC 2015


#24531: Add subpage_file Filter Before Admin Menu
----------------------------+------------------
 Reporter:  Nessworthy      |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------
Changes (by swissspidy):

 * keywords:  needs-patch => has-patch
 * milestone:  Awaiting Review => 4.4


Comment:

 [attachment:24531.diff 24531.diff] adds a `submenu_file` filter right
 after the `parent_file` filter. Not sure if `$parent_file` should be added
 as a second parameter, but this filter would be already very useful in my
 [https://wordpress.org/plugins/admin-menu-manager/ Admin Menu Manager]
 plugin.

 I think that could go into 4.4 with no problems.

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


More information about the wp-trac mailing list