[wp-trac] [WordPress Trac] #38433: Complete test coverage for current_user_can_for_blog()
WordPress Trac
noreply at wordpress.org
Fri Oct 21 14:15:45 UTC 2016
#38433: Complete test coverage for current_user_can_for_blog()
-----------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Role/Capability | Version: 4.3
Severity: normal | Keywords: needs-unit-tests
Focuses: |
-----------------------------+------------------------------
In `Tests_User_Capabilities`, all roles and capabilities are tested using
`current_user_can()`. They should all be tested using
`current_user_can_for_blog()`, too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38433>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list