[wp-trac] [WordPress Trac] #59236: Incorrect names used for Site Health permission checks

WordPress Trac noreply at wordpress.org
Tue Aug 29 09:15:41 UTC 2023


#59236: Incorrect names used for Site Health permission checks
--------------------------+-----------------------
 Reporter:  swissspidy    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.4
Component:  Site Health   |    Version:  6.1
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  rest-api      |
--------------------------+-----------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59236>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list