- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r41162 r42343 233 233 $error->add( $data['code'], $data['message'], $data['data'] ); 234 234 if ( ! empty( $data['additional_errors'] ) ) { 235 foreach ( $data['additional_errors'] as $err ) {235 foreach ( $data['additional_errors'] as $err ) { 236 236 $error->add( $err['code'], $err['message'], $err['data'] ); 237 237 } … … 254 254 $curies = array( 255 255 array( 256 'name' => 'wp',257 'href' => 'https://api.w.org/{rel}',256 'name' => 'wp', 257 'href' => 'https://api.w.org/{rel}', 258 258 'templated' => true, 259 259 ),
Note: See TracChangeset
for help on using the changeset viewer.