Changeset 46696 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
- Timestamp:
- 11/11/2019 02:41:15 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r46586 r46696 78 78 * 79 79 * @param WP_REST_Request $request Full details about the request. 80 * @return WP_Error|trueTrue if the request has read access, WP_Error object otherwise.80 * @return true|WP_Error True if the request has read access, WP_Error object otherwise. 81 81 */ 82 82 public function get_items_permissions_check( $request ) { … … 100 100 * 101 101 * @param WP_REST_Request $request Full details about the request. 102 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.102 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 103 103 */ 104 104 public function get_items( $request ) { … … 123 123 * 124 124 * @param WP_REST_Request $request Full details about the request. 125 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.125 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 126 126 */ 127 127 public function get_item( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.