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
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
All notable changes to this project should be documented both here and in the main Readme files.
|
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
|
#### [2.2.0] - 2025-04-14
|
||||||
#### Added
|
#### Added
|
||||||
- Completely refactored plugin to use OOP best practices
|
- Completely refactored plugin to use OOP best practices
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// Current plugin version - this should match the version in the main plugin file
|
// 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
|
// Plugin slugs to check for
|
||||||
const OUR_SLUGS = ['wp-fix-plugin-does-not-exist-notices', 'fix-plugin-does-not-exist-notices'];
|
const OUR_SLUGS = ['wp-fix-plugin-does-not-exist-notices', 'fix-plugin-does-not-exist-notices'];
|
||||||
|
@ -45,7 +45,9 @@ class Admin {
|
|||||||
return;
|
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(
|
wp_enqueue_script(
|
||||||
'fpden-version-fix',
|
'fpden-version-fix',
|
||||||
FPDEN_PLUGIN_URL . 'admin/js/version-fix.js',
|
FPDEN_PLUGIN_URL . 'admin/js/version-fix.js',
|
||||||
@ -53,6 +55,7 @@ class Admin {
|
|||||||
FPDEN_VERSION,
|
FPDEN_VERSION,
|
||||||
true // Load in footer
|
true // Load in footer
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
|
|
||||||
// Get invalid plugins to decide if other assets are needed
|
// Get invalid plugins to decide if other assets are needed
|
||||||
$invalid_plugins = $this->core->get_invalid_plugins();
|
$invalid_plugins = $this->core->get_invalid_plugins();
|
||||||
|
@ -5,7 +5,7 @@ Tags: plugins, missing plugins, cleanup, error fix, admin tools, plugin file doe
|
|||||||
Requires at least: 5.0
|
Requires at least: 5.0
|
||||||
Tested up to: 6.7.2
|
Tested up to: 6.7.2
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Stable tag: 2.2.0
|
Stable tag: 2.2.1
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
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 ==
|
== 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 =
|
= 2.2.0 =
|
||||||
* Added: Completely refactored plugin to use OOP best practices
|
* Added: Completely refactored plugin to use OOP best practices
|
||||||
* Added: New class structure with proper namespaces
|
* Added: New class structure with proper namespaces
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: Fix 'Plugin file does not exist' Notices
|
* Plugin Name: Fix 'Plugin file does not exist' Notices
|
||||||
* Plugin URI: https://www.wpallstars.com
|
* 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.
|
* 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: Marcus Quinn & The WPALLSTARS Team
|
||||||
* Author URI: https://www.wpallstars.com
|
* Author URI: https://www.wpallstars.com
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
@ -35,4 +35,4 @@ if (!defined('WPINC')) {
|
|||||||
require_once plugin_dir_path(__FILE__) . 'includes/Plugin.php';
|
require_once plugin_dir_path(__FILE__) . 'includes/Plugin.php';
|
||||||
|
|
||||||
// Initialize the plugin
|
// Initialize the plugin
|
||||||
new WPALLSTARS\FixPluginDoesNotExistNotices\Plugin(__FILE__, '2.2.0');
|
new WPALLSTARS\FixPluginDoesNotExistNotices\Plugin(__FILE__, '2.2.1');
|
||||||
|
32
wp-fix-plugin-does-not-exist-notices.php.bak
Normal file
32
wp-fix-plugin-does-not-exist-notices.php.bak
Normal 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');
|
Reference in New Issue
Block a user