WordPress.org

Make WordPress Core

Opened 14 months ago

#38433 new enhancement

Complete test coverage for current_user_can_for_blog()

Reported by: johnbillion Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.3
Component: Role/Capability Keywords: needs-unit-tests
Focuses: Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.