diff --git a/consistency.php b/consistency.php index 5239ef5..80319c1 100644 --- a/consistency.php +++ b/consistency.php @@ -3,7 +3,7 @@ * Plugin Name: Consistency * Plugin URI: https://www.webaxones.com * Description: Fixes typographic and punctuation consistency - * Version: 1.7.1 + * Version: 1.8.0 * Requires at least: 6.1 * Requires PHP: 7.4 * Author: Loïc Antignac diff --git a/includes/Plugin.php b/includes/Plugin.php index fced1d6..8434d29 100644 --- a/includes/Plugin.php +++ b/includes/Plugin.php @@ -32,7 +32,7 @@ class Plugin */ protected static function setConstants(): void { - defined( __NAMESPACE__ . '\VERSION' ) || define( __NAMESPACE__ . '\VERSION', '1.7.1' ); + defined( __NAMESPACE__ . '\VERSION' ) || define( __NAMESPACE__ . '\VERSION', '1.8.0' ); defined( __NAMESPACE__ . '\PLUGIN_URL' ) || define( __NAMESPACE__ . '\PLUGIN_URL', plugin_dir_url( __DIR__ ) ); defined( __NAMESPACE__ . '\PLUGIN_PATH' ) || define( __NAMESPACE__ . '\PLUGIN_PATH', plugin_dir_path( __DIR__ ) ); defined( __NAMESPACE__ . '\OPTION_GROUP' ) || define( __NAMESPACE__ . '\OPTION_GROUP', 'consistency_plugin' ); diff --git a/package.json b/package.json index 2990cd8..97ac301 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "consistency", - "version": "1.7.1", + "version": "1.8.0", "description": "", "main": "index.js", "scripts": { diff --git a/readme.txt b/readme.txt index 23a5958..8871d4d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: webaxones Tags: punctuation, typography, block editor, gutenberg Requires at least: 6.1 Tested up to: 6.6 -Stable tag: 1.7.1 +Stable tag: 1.8.0 Requires PHP: 7.4 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -69,6 +69,9 @@ Absolutely not, since nothing is done on the front end. The processing only occu == Changelog == += 1.8.0 = +* Update: code refactoring (replace global variables with global context, some functions with custom hooks, and allow to process more blocks) + = 1.7.1 = * Fix: Ensures in all cases to only use rules authorized by local parameters