From 594da0a451477bdbb93b11634d4445b18be85311 Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Thu, 27 Jun 2024 15:00:21 +0100 Subject: [PATCH 1/3] Bump version 1.14.1 -> 1.14.2 --- accessibility-checker.php | 4 ++-- package.json | 2 +- readme.txt | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/accessibility-checker.php b/accessibility-checker.php index 2a8a1a13..ee46a7e8 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.14.1 + * Version: 1.14.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.14.1' ); + define( 'EDAC_VERSION', '1.14.2' ); } // Current database version. diff --git a/package.json b/package.json index e70e5885..49d3e8b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "accessibility-checker", - "version": "1.14.1", + "version": "1.14.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 8d8d7b81..2c2d47e7 100644 --- a/readme.txt +++ b/readme.txt @@ -171,6 +171,10 @@ No, Accessibility Checker runs completely on your server and does not require yo == Changelog == += 1.15.0 = +* Fixed: Frontend highlighter could not be moved to the right side of the window on mobile +* Enhancement: Reduce false positives for underlined text check + = 1.14.1 = * Fixed: Prevent settings page layout issue From 809aecc034c00bef93185ad0741d07b5caeb77a3 Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Thu, 27 Jun 2024 15:16:07 +0100 Subject: [PATCH 2/3] Fix query where object was mistakenly used in WHERE clause Issue cased in e9541a8de0fd8f8a5e5a6d1fa7f11c0b6273da69 --- admin/class-ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/class-ajax.php b/admin/class-ajax.php index 2b943416..ad8f0b90 100644 --- a/admin/class-ajax.php +++ b/admin/class-ajax.php @@ -684,7 +684,7 @@ function ( $value ) { // For small batches of IDs, we can just loop through. foreach ( $ids as $id ) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Safe variable used for table name, caching not required for one time operation. - $wpdb->query( $wpdb->prepare( 'UPDATE %i SET ignre = %d, ignre_user = %d, ignre_date = %s, ignre_comment = %s, ignre_global = %d WHERE siteid = %d and object = %d', $table_name, $ignre, $ignre_user, $ignre_date, $ignre_comment, $ignore_global, $siteid, $id ) ); + $wpdb->query( $wpdb->prepare( 'UPDATE %i SET ignre = %d, ignre_user = %d, ignre_date = %s, ignre_comment = %s, ignre_global = %d WHERE siteid = %d and id = %d', $table_name, $ignre, $ignre_user, $ignre_date, $ignre_comment, $ignore_global, $siteid, $id ) ); } } From 5c1ec399a4182f77dee90ba997ed2ed62e51098c Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Thu, 27 Jun 2024 15:21:31 +0100 Subject: [PATCH 3/3] Add changelog for 1.14.2 --- readme.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index 2c2d47e7..f64644d1 100644 --- a/readme.txt +++ b/readme.txt @@ -171,9 +171,10 @@ No, Accessibility Checker runs completely on your server and does not require yo == Changelog == -= 1.15.0 = -* Fixed: Frontend highlighter could not be moved to the right side of the window on mobile += 1.14.2 = * Enhancement: Reduce false positives for underlined text check +* Fixed: Frontend highlighter could not be moved to the right side of the window on mobile +* Fixed: Issue where ignores were not being saved and failing silently = 1.14.1 = * Fixed: Prevent settings page layout issue