Opened 9 years ago
Last modified 5 years ago
#32316 new enhancement
Caps: Pass cap being checked to the 'user_has_cap' filter
Reported by: | r-a-y | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Is there a reason why we don't pass the cap being checked from current_user_can()
to the 'user_has_cap'
filter?
It would make things way easier for plugins to do checks.
Attachments (1)
Change History (2)
This ticket was mentioned in Slack in #buddypress by r-a-y. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.