#59236 closed defect (bug) (fixed)
Incorrect names used for Site Health permission checks
Reported by: | swissspidy | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | 6.1 |
Component: | Site Health | Keywords: | has-patch |
Focuses: | rest-api | Cc: |
Description
As pointed out at https://github.com/WordPress/wordpress-develop/commit/6ff5bf856a5012526d7fadbbee01ed4ba1ee93e2#commitcomment-125792863, \WP_REST_Site_Health_Controller::validate_request_permission()
is called with some incorrect check names that don't match the actual endpoint.
Change History (6)
This ticket was mentioned in PR #5109 on WordPress/wordpress-develop by @swissspidy.
15 months ago
#1
@swissspidy commented on PR #5109:
15 months ago
#2
cc @manuelrod @felixarntz
@mukesh27 commented on PR #5109:
15 months ago
#3
The $this->validate_request_permission( 'debug_enabled' )
was introduce changeset 49154
#4
@
15 months ago
- Owner set to swissspidy
- Resolution set to fixed
- Status changed from new to closed
In 56489:
@swissspidy commented on PR #5109:
15 months ago
#5
szepeviktor commented on PR #5109:
15 months ago
#6
Thank you all the member of this flashmob! 🙃
Note: See
TracTickets for help on using
tickets.
Props @szepeviktor, see https://github.com/WordPress/wordpress-develop/commit/6ff5bf856a5012526d7fadbbee01ed4ba1ee93e2#commitcomment-125792863
Trac ticket: https://core.trac.wordpress.org/ticket/59236