Changeset 46497 for branches/4.5/src/wp-includes/rest-api.php
- Timestamp:
- 10/14/2019 07:06:04 PM (6 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.5/src/wp-includes/rest-api.php
r36947 r46497 396 396 header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' ); 397 397 header( 'Access-Control-Allow-Credentials: true' ); 398 header( 'Vary: Origin', false ); 399 } elseif ( ! headers_sent() && 'GET' === $_SERVER['REQUEST_METHOD'] && ! is_user_logged_in() ) { 400 header( 'Vary: Origin', false ); 398 401 } 399 402
Note: See TracChangeset
for help on using the changeset viewer.