Changeset 3441922
- Timestamp:
- 01/18/2026 01:20:40 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
headers-security-advanced-hsts-wp/trunk/headers-security-advanced-hsts-wp.php
r3441897 r3441922 28 28 const HSTS_STANDARD_VALUE_PERMISSIONS_POLICY = 'accelerometer=(), autoplay=(), camera=(), cross-origin-isolated=(), display-capture=(self), encrypted-media=(), fullscreen=*, geolocation=(self), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), payment=*, picture-in-picture=*, publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=*, usb=(), xr-spatial-tracking=(), gamepad=(), serial=()'; 29 29 30 function hsts_plugin_get_headers( array $headers = array() ): array { 30 function hsts_plugin_get_headers( $headers = array() ) { 31 if ( ! is_array( $headers ) ) { 32 $headers = array(); 33 } 34 31 35 $headers['Access-Control-Allow-Methods'] = 'GET,POST'; 32 36 $headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization';
Note: See TracChangeset
for help on using the changeset viewer.