Skip to content

Commit

Permalink
Merge pull request #518 from equalizedigital/hotfix/rules-filter-timing
Browse files Browse the repository at this point in the history
Hotfix/rules filter timing
  • Loading branch information
SteveJonesDev authored Feb 28, 2024
2 parents f9d9b1d + 2f6a430 commit 34de85d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 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.9.0
* Version: 1.9.1
* Author: Equalize Digital
* Author URI: https://equalizedigital.com
* License: GPL-2.0+
Expand Down Expand Up @@ -41,7 +41,7 @@

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

// Current database version.
Expand Down Expand Up @@ -184,4 +184,4 @@ function edac_include_rules_files() {
}
}
}
edac_include_rules_files();
add_action( 'init', 'edac_include_rules_files' );
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: equalizedigital, alh0319, stevejonesdev
Tags: accessibility, accessible, wcag, ada, WP accessibility, section 508, aoda, a11y, audit, readability, content analysis
Requires at least: 6.2
Tested up to: 6.4.3
Stable tag: 1.9.0
Stable tag: 1.9.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -171,6 +171,9 @@ No, Accessibility Checker runs completely on your server and does not require yo

== Changelog ==

= 1.9.1 =
* Updated: `edac_include_rules_files to fire on init action to fix the `edac_filter_register_rules` filter timing

= 1.9.0 =
* Created: class that creates the accessibility statement on activation
* Removed: custom database query that checked for existing accessibility statement in exchange for the `get_page_by_path()` function
Expand Down

0 comments on commit 34de85d

Please sign in to comment.