WP adminbar / BP buddybar bug/issue?
-
I recently had a problem with the wp admin bar / buddybar and suspect it is a bug in buddypress.
I wanted to use the wp admin bar in admin (because I couldn’t easily get rid of it) and the bp admin bar in public (because it had previously been there – when logged in).
So I used the following in bp-custom-php
`if ( is_admin() ) {
define( ‘BP_USE_WP_ADMIN_BAR’, true );
remove_action( ‘admin_footer’, ‘bp_core_admin_bar’ );
}
`
This is because the buddybar showed up as well the wp admin bar. I wouldn’t have noticed except for a bug in wordpress 3.3.* and ie9 (add new media page) that I can’t explain how to duplicate ( even though I see it on various different sites )….On the admin side the buddypress menu showed up unstyled underneath the page as well as in the ‘Howdy’ menu without the `remove_action`….
Surely the remove action shouldn’t be necessary, or is something else going wrong somewhere? Am I going insane?
EDIT: I just tried it again and it works as expected without the remove action so I think it must have been a caching issue – still have the WP bug though…
- The topic ‘WP adminbar / BP buddybar bug/issue?’ is closed to new replies.