Skip to content

Commit

Permalink
Merge pull request #691 from equalizedigital/release/1.14.2
Browse files Browse the repository at this point in the history
Release v1.14.2
  • Loading branch information
pattonwebz committed Jun 27, 2024
2 parents 25f8c7a + 5c1ec39 commit 36c590d
Show file tree
Hide file tree
Showing 8 changed files with 397 additions and 330 deletions.
4 changes: 2 additions & 2 deletions accessibility-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
* Version: 1.14.2
* Author: Equalize Digital
* Author URI: https://equalizedigital.com
* License: GPL-2.0+
Expand All @@ -35,7 +35,7 @@

// Current plugin version.
if ( ! defined( 'EDAC_VERSION' ) ) {
define( 'EDAC_VERSION', '1.14.0' );
define( 'EDAC_VERSION', '1.14.2' );
}

// Current database version.
Expand Down
2 changes: 1 addition & 1 deletion admin/class-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "accessibility-checker",
"version": "1.14.0",
"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+",
Expand Down
2 changes: 1 addition & 1 deletion partials/settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function ( $a, $b ) {
$settings_tab = ( array_search( $settings_tab, array_column( $settings_tab_items, 'slug' ), true ) !== false ) ? $settings_tab : $default_tab;
?>

<div class="wrap edac-settings">
<div class="wrap edac-settings <?php echo EDAC_KEY_VALID ? '' : 'pro-callout-wrapper'; ?>">

<h1><?php echo esc_html( get_admin_page_title() ); ?></h1>

Expand Down
8 changes: 8 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ No, Accessibility Checker runs completely on your server and does not require yo

== Changelog ==

= 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

= 1.14.0 =
* Added: Option to move front-end highlighter to opposite side of the window
* Fixed: Prevent image from overspilling container in issue view
Expand Down
5 changes: 5 additions & 0 deletions src/admin/sass/accessibility-checker-admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,11 @@

.edac-settings {
max-width: 800px;

&.pro-callout-wrapper {
max-width: fit-content;
}

.edac-description {
font-size: 13px;
}
Expand Down
Loading

0 comments on commit 36c590d

Please sign in to comment.