Changeset 46696 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-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-statuses-controller.php
r46586 r46696 79 79 * 80 80 * @param WP_REST_Request $request Full details about the request. 81 * @return WP_Error|boolTrue if the request has read access, WP_Error object otherwise.81 * @return true|WP_Error True if the request has read access, WP_Error object otherwise. 82 82 */ 83 83 public function get_items_permissions_check( $request ) { … … 102 102 * 103 103 * @param WP_REST_Request $request Full details about the request. 104 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.104 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 105 105 */ 106 106 public function get_items( $request ) { … … 129 129 * 130 130 * @param WP_REST_Request $request Full details about the request. 131 * @return WP_Error|boolTrue if the request has read access for the item, WP_Error object otherwise.131 * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise. 132 132 */ 133 133 public function get_item_permissions_check( $request ) { … … 179 179 * 180 180 * @param WP_REST_Request $request Full details about the request. 181 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.181 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 182 182 */ 183 183 public function get_item( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.