- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r46586 r47122 155 155 $value = '"' . $value . '"'; 156 156 } 157 157 158 $header .= '; ' . $key . '=' . $value; 158 159 } … … 232 233 $data = $this->get_data(); 233 234 $error->add( $data['code'], $data['message'], $data['data'] ); 235 234 236 if ( ! empty( $data['additional_errors'] ) ) { 235 237 foreach ( $data['additional_errors'] as $err ) { … … 286 288 */ 287 289 $additional = apply_filters( 'rest_response_link_curies', array() ); 290 288 291 return array_merge( $curies, $additional ); 289 292 }
Note: See TracChangeset
for help on using the changeset viewer.