Bump version to 2.0.8 and fix plugin details popup with cache-busting
This commit is contained in:
@ -2,6 +2,15 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [2.0.8] - 2024-05-17
|
||||
### Fixed
|
||||
- Plugin details popup now correctly shows version and author information
|
||||
- Added cache-busting mechanism to ensure plugin details are always up-to-date
|
||||
|
||||
### Improved
|
||||
- Author and contributor information display in plugin details
|
||||
- Added WordPress 6.5 compatibility indicator
|
||||
|
||||
## [2.0.7] - 2024-05-17
|
||||
### Changed
|
||||
- Additional text improvements and minor fixes
|
||||
|
@ -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.0.7
|
||||
Stable tag: 2.0.8
|
||||
License: GPL-2.0+
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -140,6 +140,11 @@ Manually editing the WordPress database is risky and requires technical knowledg
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.0.8 =
|
||||
* Fixed: Plugin details popup now correctly shows version and author information
|
||||
* Added: Cache-busting mechanism to ensure plugin details are always up-to-date
|
||||
* Improved: Author and contributor information display in plugin details
|
||||
|
||||
= 2.0.7 =
|
||||
* Additional text improvements and minor fixes
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
* Plugin Name: Fix 'Plugin file does not exist.' Notices
|
||||
* Plugin URI: https://wordpress.org/plugins/wp-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.
|
||||
* Version: 2.0.7
|
||||
* Version: 2.0.8
|
||||
* Author: Marcus Quinn & WP ALLSTARS
|
||||
* Author URI: https://www.wpallstars.com
|
||||
* License: GPL-2.0+
|
||||
@ -49,7 +49,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
}
|
||||
|
||||
// Define plugin constants
|
||||
define( 'FPDEN_VERSION', '2.0.7' );
|
||||
define( 'FPDEN_VERSION', '2.0.8' );
|
||||
define( 'FPDEN_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
||||
define( 'FPDEN_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
||||
define( 'FPDEN_PLUGIN_FILE', __FILE__ );
|
||||
@ -438,11 +438,17 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
||||
$result = new stdClass();
|
||||
}
|
||||
|
||||
// Set the version to our plugin version
|
||||
$result->version = FPDEN_VERSION;
|
||||
// Generate a cache-busting timestamp
|
||||
$cache_buster = time();
|
||||
|
||||
// Set the version to our plugin version with cache buster
|
||||
$result->version = FPDEN_VERSION . ' (CB:' . $cache_buster . ')';
|
||||
|
||||
// Strip the cache buster for display purposes
|
||||
$result->display_version = FPDEN_VERSION;
|
||||
|
||||
// Add our plugin's author information
|
||||
$result->author = 'Marcus Quinn & WP ALLSTARS';
|
||||
$result->author = '<a href="https://www.wpallstars.com">Marcus Quinn & WP ALLSTARS</a>';
|
||||
$result->author_profile = 'https://www.wpallstars.com';
|
||||
|
||||
// Add contributors information
|
||||
@ -460,11 +466,12 @@ class Fix_Plugin_Does_Not_Exist_Notices {
|
||||
);
|
||||
|
||||
// Add last updated information (current date)
|
||||
$result->last_updated = date('Y-m-d');
|
||||
$result->last_updated = date('Y-m-d H:i:s');
|
||||
|
||||
// Add requires information
|
||||
$result->requires = '5.0';
|
||||
$result->requires_php = '7.0';
|
||||
$result->tested = '6.5';
|
||||
|
||||
// Add other details if they're not already set
|
||||
if ( ! isset( $result->name ) ) {
|
||||
|
Reference in New Issue
Block a user