Ticket #38060: 38060.patch
File 38060.patch, 483 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/rest-api.php
408 408 header( 'Access-Control-Allow-Origin: ' . esc_url_raw( $origin ) ); 409 409 header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' ); 410 410 header( 'Access-Control-Allow-Credentials: true' ); 411 header( 'Vary: Origin' ); 411 412 } 412 413 413 414 return $value;