[wp-trac] [WordPress Trac] #25205: filter for submenu_as_parent parameter

WordPress Trac noreply at wordpress.org
Sun Sep 1 15:36:01 UTC 2013

#25205: filter for submenu_as_parent parameter
 Reporter:  plocha          |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  trivial         |   Keywords:  has-patch
 This filter enables plugins to remove the menu entries which have the same
 target as their parents.

 We could use this filter to determine whether /wp-admin/menu.php and
 add_submenu_page should add 'same target' submenu entries. But I think
 there is no need for it because some plugins manually add such submenu
 entries. So plugins which use this filter should remove them manually.

Ticket URL: <http://core.trac.wordpress.org/ticket/25205>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list