Changeset 54127
- Timestamp:
- 09/11/2022 10:00:16 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r54083 r54127 232 232 233 233 /** 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 234 261 * Handles serving a REST API request. 235 262 * … … 494 521 } 495 522 496 $result = wp_json_encode( $result );523 $result = wp_json_encode( $result ); 497 524 498 525 $json_error_message = $this->get_json_last_error(); … … 507 534 508 535 $result = $this->error_to_response( $json_error_obj ); 509 $result = wp_json_encode( $result->data );536 $result = wp_json_encode( $result->data ); 510 537 } 511 538
Note: See TracChangeset
for help on using the changeset viewer.