- Timestamp:
- 10/27/2016 02:36:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r38832 r38980 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 );293 291 294 292 return $response;
Note: See TracChangeset
for help on using the changeset viewer.