Skip to:
Content

BuddyPress.org

Changeset 7859


Ignore:
Timestamp:
02/12/2014 05:33:41 PM (11 years ago)
Author:
r-a-y
Message:

Properly remove the "Edit Page" WP adminbar menu when on a BP page.

'bp_init' is too early to run this as the WP adminbar sets up on
'template_redirect', which runs later.

Instead of 'bp_init', we run our adminbar overrides on
'add_admin_bar_menus', which is a more, appropriate hook to use.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.