Changeset 39037
- Timestamp:
- 10/30/2016 06:52:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r38832 r39037 444 444 * 445 445 * @param WP_Error|WP_HTTP_Response|mixed $response Response to check. 446 * @return mixed WP_Error if response generated an error, WP_HTTP_Response if response 447 * is a already an instance, otherwise returns a new WP_REST_Response instance. 446 * @return WP_REST_Response|mixed If response generated an error, WP_Error, if response 447 * is already an instance, WP_HTTP_Response, otherwise 448 * returns a new WP_REST_Response instance. 448 449 */ 449 450 function rest_ensure_response( $response ) {
Note: See TracChangeset
for help on using the changeset viewer.