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

buddypress-trac noreply at wordpress.org
Mon Dec 10 18:49:57 UTC 2012


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

Comment (by johnjamesjacoby):

 The actual fix was using 'user_has_access' where we needed it. I used
 bp_core_can_edit_settings() which is basically what you describe above, a
 combination of bp_is_my_profile() & moderator cap checks.

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


More information about the buddypress-trac mailing list