Changeset 46696 for trunk/src/wp-includes/rest-api.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.php
r46660 r46696 505 505 * @since 4.4.0 506 506 * 507 * @param WP_ Error|WP_HTTP_Response|mixed $response Response to check.507 * @param WP_HTTP_Response|WP_Error|mixed $response Response to check. 508 508 * @return WP_REST_Response|mixed If response generated an error, WP_Error, if response 509 509 * is already an instance, WP_HTTP_Response, otherwise … … 873 873 * 874 874 * @param WP_Error|mixed $result Error from another authentication handler, 875 * null if we should handle it, or another value 876 * if not. 875 * null if we should handle it, or another value if not. 877 876 * @return WP_Error|mixed|bool WP_Error if the cookie is invalid, the $result, otherwise true. 878 877 */ … … 1026 1025 * @param WP_REST_Request $request 1027 1026 * @param string $param 1028 * @return WP_Error|boolean1027 * @return true|WP_Error 1029 1028 */ 1030 1029 function rest_validate_request_arg( $value, $request, $param ) {
Note: See TracChangeset
for help on using the changeset viewer.