Changeset 51350 for branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
- Timestamp:
- 07/06/2021 03:55:02 PM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
r51317 r51350 110 110 * @since 5.8.0 111 111 * 112 * @param WP_REST_Request $request Full details about the request. 112 113 * @return true|WP_Error True if the request has read access, WP_Error object otherwise. 113 114 */ 114 protected function permissions_check( ) {115 protected function permissions_check( $request ) { 115 116 // Verify if the current user has edit_theme_options capability. 116 117 // This capability is required to edit/view/delete templates.
Note: See TracChangeset
for help on using the changeset viewer.