Changeset 58704
- Timestamp:
- 07/10/2024 11:10:44 AM (2 months ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-pattern-categories-controller.php
r56093 r58704 79 79 * 80 80 * @param WP_REST_Request $request Full details about the request. 81 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.81 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 82 82 */ 83 83 public function get_items( $request ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php
r53402 r58704 51 51 * @since 5.9.0 52 52 * 53 * @return WP_Error|trueTrue if the request has access, or WP_Error object.53 * @return true|WP_Error True if the request has access, or WP_Error object. 54 54 */ 55 55 public function permissions_check() { … … 71 71 * @since 5.9.0 72 72 * 73 * @return WP_Error|void73 * @return void|WP_Error 74 74 */ 75 75 public function export() { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-locations-controller.php
r56586 r58704 78 78 * 79 79 * @param WP_REST_Request $request Full details about the request. 80 * @return WP_Error|boolTrue 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 ) { … … 98 98 * 99 99 * @param WP_REST_Request $request Full details about the request. 100 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.100 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 101 101 */ 102 102 public function get_items( $request ) { … … 141 141 * 142 142 * @param WP_REST_Request $request Full details about the request. 143 * @return WP_ Error|WP_REST_ResponseResponse object on success, or WP_Error object on failure.143 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. 144 144 */ 145 145 public function get_item( $request ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r56586 r58704 150 150 * 151 151 * @param WP_REST_Request $request Full details about the request. 152 * @return true|WP_Error True if the request has read access for the item, otherwise false or WP_Error object.152 * @return bool|WP_Error True if the request has read access for the item, otherwise false or WP_Error object. 153 153 */ 154 154 public function get_item_permissions_check( $request ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r57648 r58704 463 463 * 464 464 * @param WP_REST_Request $request Full details about the request. 465 * @return true|WP_Error True if the request has access to create items, false or WP_Error object otherwise.465 * @return bool|WP_Error True if the request has access to create items, otherwise false or WP_Error object. 466 466 */ 467 467 public function create_item_permissions_check( $request ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
r57312 r58704 193 193 * @since 5.9.0 194 194 * 195 * @return WP_Error|boolTrue if the request has permission, else WP_Error.195 * @return true|WP_Error True if the request has permission, else WP_Error. 196 196 */ 197 197 public function permissions_check() { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php
r56559 r58704 134 134 * 135 135 * @param WP_REST_Request $request Full details about the request. 136 * @return WP_REST_Response |WP_Error Response object on success, or WP_Error object on failure.136 * @return WP_REST_Response Response object. 137 137 */ 138 138 public function get_items( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.