Skip to content

Commit

Permalink
Prepare v1.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Foti <[email protected]>
  • Loading branch information
MocioF committed Feb 25, 2024
1 parent 43e707b commit 2403bd2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions no-unsafe-inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: No unsafe-inline
* Plugin URI: https://github.com/MocioF/No-unsafe-inline
* Description: This plugin helps you to build a CSP to avoid using 'unsafe-inline' in your .htaccess
* Version: 1.1.3a
* Version: 1.1.3
* Author: Giuseppe Foti
* Author URI: https://profiles.wordpress.org/mociofiletto/
* License: GPL-2.0-or-later
Expand All @@ -36,7 +36,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'NO_UNSAFE_INLINE_VERSION', '1.1.3a' );
define( 'NO_UNSAFE_INLINE_VERSION', '1.1.3' );
define( 'NO_UNSAFE_INLINE_DB_VERSION', '1.0' );
define( 'NO_UNSAFE_INLINE_MINIMUM_WP_VERSION', '5.2' );
define( 'NO_UNSAFE_INLINE_MINIMUM_PHP_VERSION', '7.4' );
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: Content Security Policy, unsafe-inline, security, multisite, CSP
Requires at least: 5.2
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.1.2
Stable tag: 1.1.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -158,7 +158,7 @@ No.

== Changelog ==
= 1.1.3 =
* Reduce capture occurences
* Reduce the number of capture occurences
* (dev) adding support for SCRIPT_DEBUG
* Update composer and npm dependencies
* Fix admin js for jquery deprecations
Expand Down
2 changes: 1 addition & 1 deletion src/Nunil_Capture.php
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ protected function insert_external_tag_in_db( $directive, $tagname, $src_attrib,
$occurrence_id = Nunil_Lib_Db::insert_occ_in_db( $external_script_id, 'external_scripts', $this_page_url );
}
} else {
// The script is in already in the db.
// The script is already in the db.
// Now check if there is an occurence for the script in the page.
// since 1.1.3: we need occurences only for hashed content.
if ( true === $add_hashes_and_occurences ) {
Expand Down

0 comments on commit 2403bd2

Please sign in to comment.