From 78b38d7a9b28d84038009185cd223c08fd00f4ee Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Wed, 7 Aug 2024 18:56:00 +0100 Subject: [PATCH 1/3] Bump version 1.15.1 -> 1.15.2 --- accessibility-checker.php | 4 ++-- package.json | 2 +- readme.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/accessibility-checker.php b/accessibility-checker.php index dfe9a2ef..1f1a1580 100755 --- a/accessibility-checker.php +++ b/accessibility-checker.php @@ -10,7 +10,7 @@ * Plugin Name: Accessibility Checker * Plugin URI: https://a11ychecker.com * Description: Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance. - * Version: 1.15.1 + * Version: 1.15.2 * Author: Equalize Digital * Author URI: https://equalizedigital.com * License: GPL-2.0+ @@ -35,7 +35,7 @@ // Current plugin version. if ( ! defined( 'EDAC_VERSION' ) ) { - define( 'EDAC_VERSION', '1.15.1' ); + define( 'EDAC_VERSION', '1.15.2' ); } // Current database version. diff --git a/package.json b/package.json index 70724aae..9d00d548 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "accessibility-checker", - "version": "1.15.1", + "version": "1.15.2", "description": "Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.", "author": "Equalize Digital", "license": "GPL-2.0+", diff --git a/readme.txt b/readme.txt index c3773e50..7ac08f5a 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: equalizedigital, alh0319, stevejonesdev Tags: accessibility, accessible, wcag, ada, WP accessibility Requires at least: 6.2 Tested up to: 6.6.1 -Stable tag: 1.15.1 +Stable tag: 1.15.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From 2fc8a91a1641e8614344e663e40202f9d7ef2cca Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Wed, 7 Aug 2024 18:58:18 +0100 Subject: [PATCH 2/3] Update || for && when attempting to back compat code --- admin/class-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/class-settings.php b/admin/class-settings.php index 20a4af9e..84295a0b 100644 --- a/admin/class-settings.php +++ b/admin/class-settings.php @@ -32,7 +32,7 @@ public static function get_scannable_post_types() { // Check if the new settings class exists. This is added to allow for backwards compatibility // with the old settings class. The old settings class check should be removed after a few releases. $new_settings_class_exists = class_exists( 'EqualizeDigital\AccessibilityCheckerPro\Admin\Settings' ); - if ( ! class_exists( '\EDACP\Settings' ) || ! $new_settings_class_exists ) { + if ( ! class_exists( '\EDACP\Settings' ) && ! $new_settings_class_exists ) { $post_types = Helpers::get_option_as_array( 'edac_post_types' ); From dbc65c677c1c046f927b4ecde7292af415fc3802 Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Wed, 7 Aug 2024 18:59:07 +0100 Subject: [PATCH 3/3] Add a changelog item --- readme.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.txt b/readme.txt index 7ac08f5a..649b7ee6 100644 --- a/readme.txt +++ b/readme.txt @@ -171,6 +171,9 @@ No, Accessibility Checker runs completely on your server and does not require yo == Changelog == += 1.15.2 = +* Fixed: Issue where CPT results would not be reflected in dashboard widgets and reports + = 1.15.1 = * Fixed: Issue where a modal could result in JS error preventing display * Fixed: Situations where Gutenberg created new posts may not trigger the JS scan when publishing