[buddypress-trac] [BuddyPress] #4661: Privileged menu items adding to BP nav for anonymous users

buddypress-trac noreply at wordpress.org
Mon Dec 10 18:29:39 UTC 2012


#4661: Privileged menu items adding to BP nav for anonymous users
----------------------------+-----------------------
 Reporter:  DJPaul          |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  1.7
Component:  All Components  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by boonebgorges):

 I don't see the need to revert. Just add a `current_user_can(
 'bp_moderate' )` check in addition to `bp_is_my_profile()`. Unless I'm
 missing something? (haven't tested)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4661#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list