Changeset 2529275
- Timestamp:
- 05/10/2021 06:54:35 PM (5 years ago)
- Location:
- s2-safety-functions/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
s2_safety.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
s2-safety-functions/trunk/readme.txt
r2529268 r2529275 26 26 27 27 * Initial version 28 29 = 1.9.1 = 30 31 * Update of Wordpress version 32 * Update of Plugin Version 33 * Added Permissions-Policy for fullscreen=(), geolocation=(), camera=() -
s2-safety-functions/trunk/s2_safety.php
r2529270 r2529275 65 65 */ 66 66 header('X-Frame-Options: SAMEORIGIN'); 67 /* 68 Will be removed 69 */ 67 70 header("Feature-Policy: geolocation 'self';"); 68 71 header("Feature-Policy: camera 'none';"); 69 72 header("Feature-Policy: unsized-media 'none';"); 73 /* 74 Since 1.9.1 Feature-Policy migration to Permissions-Policy 75 */ 76 header("Permissions-Policy: fullscreen=(), geolocation=(), camera=();"); 70 77 } 71 78 } 72
Note: See TracChangeset
for help on using the changeset viewer.