WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36413 closed enhancement (fixed)

Two missing capabilities in the roles and caps unit tests

Reported by: johnbillion Owned by: johnbillion
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.3
Component: Role/Capability Keywords: has-patch needs-codex
Focuses: Cc:

Description

create_sites and delete_sites are missing from the capabilities used in Tests_User_Capabilities::test_all_roles_and_caps() and other tests.

They're missing from the the Roles and Capabilities page on the Codex too.

Attachments (1)

36413.diff (806 bytes) - added by johnbillion 4 years ago.

Download all attachments as: .zip

Change History (8)

@johnbillion
4 years ago

#1 @johnbillion
4 years ago

  • Keywords has-patch needs-codex added

#2 @johnbillion
4 years ago

  • Milestone changed from Awaiting Review to 4.5

#3 @johnbillion
4 years ago

In 37157:

Role/Capability: Add create_sites and delete_sites to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests.

See #32394, #36413

#4 @mikeschroder
4 years ago

  • Owner set to johnbillion
  • Status changed from new to assigned

#5 @jorbin
4 years ago

@johnbillion Anything else need to get done here?

This ticket was mentioned in Slack in #core by mike. View the logs.


4 years ago

#7 @johnbillion
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.