diff --git a/CHANGELOG.md b/CHANGELOG.md index 801dc23..91cbe45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. +## [1.2.4] - 2023-10-05 +### Fixed +- Compatibility with more WordPress admin UI variations +- Specific targeting for admin notices in various themes + +### Added +- Advanced DOM traversal using TreeWalker API +- Multiple fallback approaches to ensure button appears +- Enhanced console logging for troubleshooting + ## [1.2.3] - 2023-10-05 ### Fixed - Button not appearing in some WordPress admin themes diff --git a/README.md b/README.md index 30a7e18..f97182a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Plugin Reference Cleaner Author: Marcus Quinn Author URI: https://www.wpallstars.com -Version: 1.2.3 +Version: 1.2.4 License: GPL-2.0+ ## Description @@ -47,6 +47,12 @@ If you don't have this notification perpetually showing on your /wp-admin/plugin ## Changelog +### 1.2.4 +* Fixed compatibility with more WordPress admin themes +* Added advanced DOM traversal to find error messages +* Implemented fallback mechanisms to ensure button appears +* Added detailed console logging for troubleshooting + ### 1.2.3 * Fixed button not appearing in some WordPress admin themes * Improved error message detection for greater compatibility diff --git a/plugin-reference-cleaner.php b/plugin-reference-cleaner.php index 04c1296..3ec1d35 100644 --- a/plugin-reference-cleaner.php +++ b/plugin-reference-cleaner.php @@ -2,7 +2,7 @@ /* * Plugin Name: Plugin Reference Cleaner * Description: Adds a "Remove Reference" button to plugin deactivation error notices, allowing users to clean up invalid plugin entries. - * Version: 1.2.3 + * Version: 1.2.4 * Author: Marcus Quinn * Author URI: https://www.wpallstars.com * License: GPL-2.0+ @@ -59,55 +59,123 @@ class Plugin_Reference_Cleaner {