[buddypress-trac] [BuddyPress] #3085: BP_DISABLE_ADMIN_BAR no longer works in BP1.2.8 + WP3.1

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Feb 25 23:22:21 UTC 2011


#3085: BP_DISABLE_ADMIN_BAR no longer works in BP1.2.8 + WP3.1
--------------------------+-------------------------------
  Reporter:  ashleylaing  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Awaiting Review
 Component:  Core         |    Version:  1.2.8
Resolution:               |   Keywords:  reporter-feedback
--------------------------+-------------------------------

Comment (by r-a-y):

 The BP Admin Bar and the WP Admin Bar are two separate... bars ;)
 The WP admin bar was introduced in WP 3.1.

 BP_DISABLE_ADMIN_BAR only disables the BuddyBar.

 To disable the WP admin bar, you can simply add the following in your
 theme's functions.php:

 {{{
 add_filter( 'show_admin_bar', '__return_false' );
 }}}

 For discussion on the BP_DISABLE_ADMIN_BAR constant, see: #3084

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3085#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list