Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#229 closed defect (bug) (fixed)

Fixed role reporting in adminbar and logout nonce fix combination patch

Reported by: burtadsit's profile burtadsit Owned by:
Milestone: Priority: minor
Severity: Version:
Component: Keywords:
Cc:

Description

This patch fixes up the 'role' determination for site admins in the adminbar. If you are site admin then the role determination function doesn't always report your role on blogs correctly. This patch just returns 'Admin' no matter what.

It also includes the patch for the logout problem described in ticket #228. Apply this and you get both.

Sorry. I was playing with the adminbar code to see what the problem was with logout and then after I sent in a patch for consideration I remembered the role goofyness.

Attachments (1)

bp_core_adminbar.php.adminlogoutcombo.patch (1.4 KB) - added by burtadsit 15 years ago.
Patch to fix adminbar role probs with site admin and also includes the logout fix

Download all attachments as: .zip

Change History (3)

@burtadsit
15 years ago

Patch to fix adminbar role probs with site admin and also includes the logout fix

#1 @burtadsit
15 years ago

  • Priority changed from major to minor

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed, thanks for patch.

Note: See TracTickets for help on using tickets.