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

buddypress-trac noreply at wordpress.org
Fri Jun 19 00:12:24 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 r-a-y):

 `02.patch` changes the second parameter from `$blog_id` to an array.
 Older usage should be backward compatible.

 This is mostly to address usage of `bp_current_can()` in #5121.

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


More information about the buddypress-trac mailing list