Changeset 51316 for branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
- Timestamp:
- 07/02/2021 07:02:13 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
r51311 r51316 58 58 * @param WP_REST_Request $request Full details about the request. 59 59 * 60 * @return WP_Error|boolTrue if the request has permission, WP_Error object otherwise.60 * @return true|WP_Error True if the request has permission, WP_Error object otherwise. 61 61 */ 62 62 public function get_items_permissions_check( $request ) { … … 85 85 * @param WP_REST_Request $request Full details about the request. 86 86 * 87 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.87 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 88 88 */ 89 89 public function get_items( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.