mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
This adds the `$request` parameter to the permissions_check() methods within `WP_REST_Widgets_Controller` and adds $request as an allowed parameter to the `permissions_check()` method within `WP_REST_Templates_Controller`. Even when this parameter is not used by default, it should be implemented to support the class being extended and the method overridden. Props johnbillion, timothyblynjacobs. Merges [51349] to the 5.8 branch. Fixes #53593. Built from https://develop.svn.wordpress.org/branches/5.8@51350 git-svn-id: http://core.svn.wordpress.org/branches/5.8@50959 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
|---|---|---|
| .. | ||
| endpoints | ||
| fields | ||
| search | ||
| class-wp-rest-request.php | ||
| class-wp-rest-response.php | ||
| class-wp-rest-server.php | ||