[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 09:11:50 UTC 2016


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I am guessing this change is the cause for our
 `test_bp_current_user_can_should_interpret_integer_second_param_as_a_blog_id`
 to fail -- it works on normal WordPress, but fails on multisite.

 https://travis-ci.org/buddypress/BuddyPress/jobs/156703464#L509

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


More information about the buddypress-trac mailing list