Changeset 46483
- Timestamp:
- 10/14/2019 04:23:13 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r46478 r46483 590 590 header( 'Access-Control-Allow-Credentials: true' ); 591 591 header( 'Vary: Origin' ); 592 } else if ('GET' === $_SERVER['REQUEST_METHOD'] && ! is_user_logged_in() ) {592 } elseif ( ! headers_sent() && 'GET' === $_SERVER['REQUEST_METHOD'] && ! is_user_logged_in() ) { 593 593 header( 'Vary: Origin' ); 594 594 }
Note: See TracChangeset
for help on using the changeset viewer.