- Timestamp:
- 10/28/2016 02:06:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r38980 r38990 289 289 $response = $this->prepare_item_for_response( $user, $request ); 290 290 $response = rest_ensure_response( $response ); 291 $response->header( 'Location', rest_url( sprintf( '%s/%s/%d', $this->namespace, $this->rest_base, $current_user_id ) ) ); 292 $response->set_status( 302 ); 291 293 292 294 return $response;
Note: See TracChangeset
for help on using the changeset viewer.