- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r49610 r49927 363 363 * 364 364 * @param WP_REST_Request $request Full details about the request. 365 * @return bool|WP_Error True if the request has read access for the item, WP_Error object otherwise.365 * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise. 366 366 */ 367 367 public function get_item_permissions_check( $request ) { … … 398 398 * 399 399 * @param WP_REST_Request $request Full details about the request. 400 * @return bool|WP_Error True if the request has access to delete the item, WP_Error object otherwise.400 * @return true|WP_Error True if the request has access to delete the item, WP_Error object otherwise. 401 401 */ 402 402 public function delete_item_permissions_check( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.