- Timestamp:
- 08/18/2023 05:44:29 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php
r56093 r56415 41 41 * 42 42 * @param WP_REST_Request $request Full details about the request. 43 * @return bool|WP_Error True if the request has read access for the item, otherwise false orWP_Error object.43 * @return true|WP_Error True if the request has read access for the item, otherwise WP_Error object. 44 44 */ 45 45 public function get_item_permissions_check( $request ) { … … 82 82 * 83 83 * @param WP_REST_Request $request Full details about the request. 84 * @return bool|WP_Error Whether the current user has permission.84 * @return true|WP_Error True if the current user has permission, WP_Error object otherwise. 85 85 */ 86 86 protected function check_has_read_only_access( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.