[buddypress-trac] [BuddyPress] #3661: Switch to WP admin bar
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Oct 8 18:44:03 UTC 2011
#3661: Switch to WP admin bar
------------------------------+-----------------------
Reporter: DJPaul | Owner: DJPaul
Type: task | Status: assigned
Priority: normal | Milestone: 1.6
Component: Admin/Buddy Bars | Version:
Severity: normal | Resolution:
Keywords: |
------------------------------+-----------------------
Comment (by DJPaul):
The goal is to migrate people to the Admin Bar. I'm about to put this in.
Some notes:
Old behaviour:
* BP_USE_WP_ADMIN_BAR, set to True, is currently used to switch to the WP
Admin Bar.
New behaviour:
* If BP_USE_WP_ADMIN_BAR set to True, it will always use the WP Admin Bar.
If it's set to False, it will always use the BuddyBar.
* New installs will default to the WP Admin Bar. The person installing BP
sees no option to switch to the BuddyBar.
* During upgrades, if BP_USE_WP_ADMIN_BAR is *not* set, the site is
switched to the WP Admin Bar unless the admin ticks a box on a new screen
which I've added to the upgrader.
* After upgrades where the admin chooses to continue using BuddyPress,
I've added a checkbox to the BuddyPress > Settings screen. If this is
ticked and the form submitted, it will switch them to the WP Admin Bar.
* There is no way to switch back to the BuddyBar once you are on the WP
Admin Bar, but BP_USE_WP_ADMIN_BAR is still king, allowing customisations
via wp-config.php, or perhaps someone creating a plugin to force back the
BuddyBar.
I've tested the patch thoroughly but am leaving the ticket open for any
comments or changes to the implementation.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3661#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list