Changeset 39042
- Timestamp:
- 10/31/2016 12:18:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r39037 r39042 515 515 if ( $origin ) { 516 516 header( 'Access-Control-Allow-Origin: ' . esc_url_raw( $origin ) ); 517 header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' );517 header( 'Access-Control-Allow-Methods: OPTIONS, GET, POST, PUT, PATCH, DELETE' ); 518 518 header( 'Access-Control-Allow-Credentials: true' ); 519 519 header( 'Vary: Origin' );
Note: See TracChangeset
for help on using the changeset viewer.