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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jul 31 08:51:08 UTC 2011


#3419: bp_core_remove_nav_item() support WP admin bar as well?
-------------------------+------------------------------
 Reporter:  r-a-y        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Core         |     Version:  1.5
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |
-------------------------+------------------------------
Changes (by DJPaul):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The way we're doing it is to use WP's functions to build the WP admin bar,
 as opposed to putting all the logic and detection into the likes of
 bp_core_add_nav_item() etc. When the BuddyBar is removed in a future
 release, we'll backpat the functions to hook up to the admin bar's
 equivalents.

 Admin bar with 1.5 is supported and seems to work just fine, but it was a
 relatively late addition to 1.5 and so that bit of code hasn't had as much
 testing. You'll note we don't have an option in the Settings admin screen
 to let people switch between bars… yet :)

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


More information about the buddypress-trac mailing list