[buddypress-trac] [BuddyPress Trac] #6501: Allow additional arguments to be passed to bp_current_user_can()

buddypress-trac noreply at wordpress.org
Sat Jun 20 13:41:23 UTC 2015


#6501: Allow additional arguments to be passed to bp_current_user_can()
------------------------------------+------------------
 Reporter:  thebrandonallen         |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  2.4
Component:  API - Roles/Capability  |     Version:  1.6
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |
------------------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"9956"]:
 {{{
 #!CommitTicketReference repository="" revision="9956"
 Add test demonstrating that an integer passed as the second argument in
 `bp_current_user_can()` will be interpereted as a blog_id.

 See #6501.
 }}}

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


More information about the buddypress-trac mailing list