[buddypress-trac] [BuddyPress Trac] #7192: Improve $args included in `bp_current_user_can` and `bp_user_can` filters.

buddypress-trac noreply at wordpress.org
Mon Jul 25 16:09:42 UTC 2016


#7192: Improve $args included in `bp_current_user_can` and `bp_user_can` filters.
--------------------------+------------------------------
 Reporter:  dcavins       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dcavins):

 @r-a-y I'm totally in favor of user `bp_current_user_can()` as a
 wrapper/helper for `bp_user_can()`.  Your patch looks good to me, and
 works as expected.

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


More information about the buddypress-trac mailing list