Changeset 56415 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
- Timestamp:
- 08/18/2023 05:44:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
r56093 r56415 58 58 * 59 59 * @param WP_REST_Request $request Full details about the request. 60 * @return bool|WP_Error True if the request has read access for the item, WP_Error object o therwise.60 * @return bool|WP_Error True if the request has read access for the item, WP_Error object or false otherwise. 61 61 */ 62 62 public function get_item_permissions_check( $request ) { … … 78 78 * 79 79 * @param WP_REST_Request $request Full details about the request. 80 * @return bool|WP_Error Whether the current user has permission.80 * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise. 81 81 */ 82 82 protected function check_has_read_only_access( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.