Skip to content

Commit

Permalink
v1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
riverside committed Sep 2, 2023
1 parent 88fdc6e commit 60bf21d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Donate link: https://www.paypal.me/Dimitar81

Requires at least: 3.2

Tested up to: 6.2.2
Tested up to: 6.3.1

Requires PHP: 5.3

Stable tag: 1.19.0
Stable tag: 1.19.1

License: GPLv2 or later

Expand Down Expand Up @@ -81,6 +81,12 @@ These HTTP headers are being used in production services by popular websites as
Updates are on they way, so stay tuned at [@DimitarIvanov](https://twitter.com/DimitarIvanov)

## Changelog
#### 1.19.1
*Release Date - 2nd September, 2023*

* Added "clientHints" directive to "Clear-Site-Data" header
* Added "credentialless" directive to "Cross-Origin-Embedder-Policy" header

#### 1.19.0
*Release Date - 7th July, 2023*

Expand Down
2 changes: 1 addition & 1 deletion http-headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: HTTP Headers
Plugin URI: https://github.com/riverside/http-headers
Description: A plugin for HTTP headers management including security, access-control (CORS), caching, compression, and authentication.
Version: 1.19.0
Version: 1.19.1
Author: Dimitar Ivanov
Author URI: https://github.com/riverside
License: GPLv2 or later
Expand Down
1 change: 1 addition & 0 deletions views/clear-site-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<?php
$items = array(
'cache' => 'bool',
'clientHints' => 'bool',
'cookies' => 'bool',
'storage' => 'bool',
'executionContexts' => 'bool',
Expand Down
2 changes: 1 addition & 1 deletion views/cross-origin-embedder-policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<?php do_settings_sections( 'http-headers-coep' ); ?>
<select name="hh_cross_origin_embedder_policy_value" class="http-header-value"<?php echo $cross_origin_embedder_policy == 1 ? NULL : ' readonly'; ?>>
<?php
$items = array('unsafe-none', 'require-corp');
$items = array('unsafe-none', 'require-corp', 'credentialless');
$cross_origin_embedder_policy_value = get_option('hh_cross_origin_embedder_policy_value');
foreach ($items as $item) {
?><option value="<?php echo $item; ?>"<?php selected($cross_origin_embedder_policy_value, $item); ?>><?php echo $item; ?></option><?php
Expand Down

0 comments on commit 60bf21d

Please sign in to comment.