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

buddypress-trac noreply at wordpress.org
Thu Sep 1 00:50:07 UTC 2016


#7192: Improve $args included in `bp_current_user_can` and `bp_user_can` filters.
-------------------------------------------+----------------------
 Reporter:  dcavins                        |       Owner:  dcavins
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  2.7
Component:  Core                           |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  dev-feedback has-patch commit  |
-------------------------------------------+----------------------
Changes (by dcavins):

 * owner:   => dcavins
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11052"]:
 {{{
 #!CommitTicketReference repository="" revision="11052"
 Improve bp_current_user_can().

 • Deprecate `$args['blog_id’]` in favor of `$args['site_id’]`.
 • Improve the structure of the passed `$args` array in the
 `bp_current_user_can` filter.

 Props r-a-y, dcavins.

 Fixes #7192.
 }}}

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


More information about the buddypress-trac mailing list