Changeset 45566 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 06/26/2019 06:06:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r43582 r45566 311 311 $request->set_file_params( $_FILES ); 312 312 $request->set_headers( $this->get_headers( wp_unslash( $_SERVER ) ) ); 313 $request->set_body( $this->get_raw_data() );313 $request->set_body( self::get_raw_data() ); 314 314 315 315 /* … … 438 438 public function response_to_data( $response, $embed ) { 439 439 $data = $response->get_data(); 440 $links = $this->get_compact_response_links( $response );440 $links = self::get_compact_response_links( $response ); 441 441 442 442 if ( ! empty( $links ) ) {
Note: See TracChangeset
for help on using the changeset viewer.