[buddypress-trac] [BuddyPress Trac] #3419: bp_core_remove_nav_item() support WP admin bar as well?

buddypress-trac noreply at wordpress.org
Mon Aug 1 16:52:30 UTC 2016

#3419: bp_core_remove_nav_item() support WP admin bar as well?
 Reporter:  r-a-y                                |       Owner:
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  2.7
Component:  Core                                 |     Version:  1.5
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback dev-feedback has-  |
  patch                                          |
Changes (by imath):

 * keywords:  reporter-feedback dev-feedback => reporter-feedback dev-
     feedback has-patch
 * milestone:  Future Release => 2.7


 I think we can actually use the BP Core Nav to achieve this. I've quickly
 put up a patch for the activity component to sync the BP nav with the WP
 Admin Nav, which means, removing a subnav item or a nav item to the BP Nav
 should be taken in account into the WP Admin Nav (i haven't tested yet!)

 I think we should make the function i've created
 `BP_Core_Nav::get_admin_nav()` a lot more generic, i can see cases where
 we would like to have a specific primary nav item and its children.

 If you think it's a great idea, i'll do the work for the other components

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3419#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list