Changeset 9669
- Timestamp:
- 04/01/2020 03:32:07 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-locale-banner.php
r9668 r9669 220 220 $result->header( 'Cache-Control', 'max-age=3600' ); 221 221 222 // Don't output the Vary: Origin header, nginx doesn't like multiple Vary headers. 223 // This also disables the Cross-Origin headers, but this API is only used by the same origin. 224 remove_filter( 'rest_pre_serve_request', 'rest_send_cors_headers' ); 225 222 226 return $result; 223 227 }
Note: See TracChangeset
for help on using the changeset viewer.