mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00: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 overidden. Props johnbillion, timothyblynjacobs. Fixes #53593. git-svn-id: https://develop.svn.wordpress.org/trunk@51349 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| endpoints | ||
| fields | ||
| search | ||
| class-wp-rest-request.php | ||
| class-wp-rest-response.php | ||
| class-wp-rest-server.php | ||