Changeset 46498 for branches/4.4/src/wp-includes/rest-api.php
- Timestamp:
- 10/14/2019 07:08:52 PM (7 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-includes/rest-api.php
r35718 r46498 377 377 header( 'Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE' ); 378 378 header( 'Access-Control-Allow-Credentials: true' ); 379 header( 'Vary: Origin', false ); 380 } elseif ( ! headers_sent() && 'GET' === $_SERVER['REQUEST_METHOD'] && ! is_user_logged_in() ) { 381 header( 'Vary: Origin', false ); 379 382 } 380 383
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)