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

buddypress-trac noreply at wordpress.org
Wed Sep 14 20:13:35 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:  1.6
 Severity:  normal                         |  Resolution:
 Keywords:  dev-feedback has-patch commit  |
-------------------------------------------+-----------------------
Changes (by boonebgorges):

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


Comment:

 [11052] broke the ability to access wp-admin/edit.php?post_type=bp-email -
 the `bp_current_user_can( 'bp_moderate' )` check during post type
 registration is returning false. MS, network-activated.

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


More information about the buddypress-trac mailing list