Version 2.2.1 - Commented out version-fix.js script and fixed version consistency
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
2025-04-14 21:26:27 +01:00
parent e1da072640
commit c5d3c7672c
6 changed files with 49 additions and 5 deletions

View File

@ -1,5 +1,10 @@
All notable changes to this project should be documented both here and in the main Readme files.
#### [2.2.1] - 2025-04-14
#### Changed
- Commented out version-fix.js script as it's no longer needed after refactoring
- Fixed version consistency across all files
#### [2.2.0] - 2025-04-14
#### Added
- Completely refactored plugin to use OOP best practices

View File

@ -8,7 +8,7 @@
'use strict';
// Current plugin version - this should match the version in the main plugin file
const CURRENT_VERSION = '2.2.0';
const CURRENT_VERSION = '2.2.1';
// Plugin slugs to check for
const OUR_SLUGS = ['wp-fix-plugin-does-not-exist-notices', 'fix-plugin-does-not-exist-notices'];

View File

@ -45,7 +45,9 @@ class Admin {
return;
}
// Always load our version fix script on the plugins page
// Version fix script is no longer needed after refactoring
// Commented out for testing
/*
wp_enqueue_script(
'fpden-version-fix',
FPDEN_PLUGIN_URL . 'admin/js/version-fix.js',
@ -53,6 +55,7 @@ class Admin {
FPDEN_VERSION,
true // Load in footer
);
*/
// Get invalid plugins to decide if other assets are needed
$invalid_plugins = $this->core->get_invalid_plugins();

View File

@ -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.7.2
Requires PHP: 7.0
Stable tag: 2.2.0
Stable tag: 2.2.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@ -179,6 +179,10 @@ Manually editing the WordPress database is risky and requires technical knowledg
== Changelog ==
= 2.2.1 =
* Changed: Commented out version-fix.js script as it's no longer needed after refactoring
* Fixed: Version consistency across all files
= 2.2.0 =
* Added: Completely refactored plugin to use OOP best practices
* Added: New class structure with proper namespaces

View File

@ -3,7 +3,7 @@
* Plugin Name: Fix 'Plugin file does not exist' Notices
* Plugin URI: https://www.wpallstars.com
* Description: Adds missing plugins to your plugins list with a "Remove Notice" action link, allowing you to safely clean up invalid plugin references.
* Version: 2.2.0
* Version: 2.2.1
* Author: Marcus Quinn & The WPALLSTARS Team
* Author URI: https://www.wpallstars.com
* License: GPL-2.0+
@ -35,4 +35,4 @@ if (!defined('WPINC')) {
require_once plugin_dir_path(__FILE__) . 'includes/Plugin.php';
// Initialize the plugin
new WPALLSTARS\FixPluginDoesNotExistNotices\Plugin(__FILE__, '2.2.0');
new WPALLSTARS\FixPluginDoesNotExistNotices\Plugin(__FILE__, '2.2.1');

View File

@ -0,0 +1,32 @@
<?php
/**
* Plugin Name: Fix 'Plugin file does not exist' Notices
* Plugin URI: https://www.wpallstars.com
* Description: Adds missing plugins to your plugins list with a "Remove Notice" action link, allowing you to safely clean up invalid plugin references.
* Version: 2.2.0
* Author: Marcus Quinn & The WPALLSTARS Team
* Author URI: https://www.wpallstars.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wp-fix-plugin-does-not-exist-notices
* Domain Path: /languages
* GitHub Plugin URI: wpallstars/wp-fix-plugin-does-not-exist-notices
* GitHub Branch: main
* Primary Branch: main
* Release Branch: main
* Release Asset: true
* Update URI: https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices
*
* @package WPALLSTARS\FixPluginDoesNotExistNotices
*/
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
// Load the main plugin class
require_once plugin_dir_path(__FILE__) . 'includes/Plugin.php';
// Initialize the plugin
new WPALLSTARS\FixPluginDoesNotExistNotices\Plugin(__FILE__, '2.2.0');