From d353250fd978b0647a6d8602cb4ab3e24601b70c Mon Sep 17 00:00:00 2001 From: Marcus Quinn <6428977+marcusquinn@users.noreply.github.com> Date: Sat, 12 Apr 2025 15:54:34 +0100 Subject: [PATCH] Code cleanup and Git Updater integration improvements (v1.6.13) --- README.md | 6 ++++++ assets/js/admin-scripts.js | 8 ++++---- fix-plugin-does-not-exist-notices.php | 4 ++-- languages/fix-plugin-does-not-exist-notices.pot | 2 +- readme.txt | 11 ++++++++++- 5 files changed, 23 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 575f3db..f1cddd7 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,12 @@ The plugin works by: ## Changelog +### 1.6.13 +* Code cleanup and optimization +* Improved Git Updater integration +* Fixed author display in plugin information +* Ensured compatibility with WordPress 6.4 + ### 1.6.12 * Added WP ALLSTARS as a co-author * Updated author information and links diff --git a/assets/js/admin-scripts.js b/assets/js/admin-scripts.js index de41ee7..6d9ef52 100644 --- a/assets/js/admin-scripts.js +++ b/assets/js/admin-scripts.js @@ -51,12 +51,12 @@ var removeNoticeText = typeof fpdenData !== 'undefined' && fpdenData.i18n && fpdenData.i18n.removeNotice ? fpdenData.i18n.removeNotice : 'Remove Notice'; var clickToScrollText = typeof fpdenData !== 'undefined' && fpdenData.i18n && fpdenData.i18n.clickToScroll ? - fpdenData.i18n.clickToScroll : 'Click here to scroll to missing plugins'; + fpdenData.i18n.clickToScroll : 'Click here to scroll to and highlight missing plugins'; - ourNotice.innerHTML = '

Fix Plugin Does Not Exist Notices ☝️

' + - '

To remove these notices, scroll down to each plugin .php showing "(' + pluginMissingText + ')", and click "' + removeNoticeText + '".

' + + ourNotice.innerHTML = '

Fix Plugin Does Not Exist Notices 👆

' + + '

To remove these notices, scroll down to each plugin\'s name.php row, followed by: "(' + pluginMissingText + ')". Then, click the "' + removeNoticeText + '" link for that plugin.

' + '

This safely removes the missing active plugin reference from your database.

' + - '

We\'re using the standard WordPress function to update your active plugin options table — to leave only the correct remaining plugins installed and active.

' + + '

Calls the standard WordPress function to update your active plugin options table, leaving only the remaining plugins installed and active.

' + '

' + clickToScrollText + '

'; // Insert our notice right after the error diff --git a/fix-plugin-does-not-exist-notices.php b/fix-plugin-does-not-exist-notices.php index 67fbbd6..c9c639c 100644 --- a/fix-plugin-does-not-exist-notices.php +++ b/fix-plugin-does-not-exist-notices.php @@ -13,7 +13,7 @@ * Plugin Name: Fix 'Plugin file does not exist.' Notices * Plugin URI: https://wordpress.org/plugins/fix-plugin-does-not-exist-notices/ * Description: Adds missing plugins to the plugins list with a "Remove Reference" link so you can permanently clean up invalid plugin entries and remove error notices. By Marcus Quinn (marcusquinn.com) & WP ALLSTARS (wpallstars.com). - * Version: 1.6.12 + * Version: 1.6.13 * Author: Marcus Quinn & WP ALLSTARS * Author URI: https://www.wpallstars.com * License: GPL-2.0+ @@ -48,7 +48,7 @@ if ( ! defined( 'ABSPATH' ) ) { } // Define plugin constants -define( 'FPDEN_VERSION', '1.6.12' ); +define( 'FPDEN_VERSION', '1.6.13' ); define( 'FPDEN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'FPDEN_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'FPDEN_PLUGIN_FILE', __FILE__ ); diff --git a/languages/fix-plugin-does-not-exist-notices.pot b/languages/fix-plugin-does-not-exist-notices.pot index 55456af..3e5c412 100644 --- a/languages/fix-plugin-does-not-exist-notices.pot +++ b/languages/fix-plugin-does-not-exist-notices.pot @@ -2,7 +2,7 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: Fix 'Plugin file does not exist.' Notices 1.6.12\n" +"Project-Id-Version: Fix 'Plugin file does not exist.' Notices 1.6.13\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/fix-plugin-does-not-exist-notices\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/readme.txt b/readme.txt index 87eecd0..95330ea 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: plugins, missing plugins, cleanup, error fix, admin tools, plugin file doe Requires at least: 5.0 Tested up to: 6.4 Requires PHP: 7.0 -Stable tag: 1.6.12 +Stable tag: 1.6.13 License: GPL-2.0+ License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -89,6 +89,12 @@ Although this plugin consumes minimal disk space, and doesn't run unless you are == Changelog == += 1.6.13 = +* Code cleanup and optimization +* Improved Git Updater integration +* Fixed author display in plugin information +* Ensured compatibility with WordPress 6.4 + = 1.6.12 = * Added WP ALLSTARS as a co-author * Updated author information and links @@ -253,6 +259,9 @@ Although this plugin consumes minimal disk space, and doesn't run unless you are == Upgrade Notice == += 1.6.13 = +Code cleanup, improved Git Updater integration, and ensured compatibility with WordPress 6.4. + = 1.6.12 = Added WP ALLSTARS as a co-author and updated author information.