v5.0.1
This commit is contained in:
parent
7b62556227
commit
9aef0b4533
7 changed files with 18 additions and 9 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 208 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 222 KiB |
|
|
@ -1,5 +1,12 @@
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= [5.0.1] - 2026-06-02 =
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
|
* `wp_cache_flush()` removed from `wpvulnerability_update_database_data()` and `wpvulnerability_reset_plugin_data()`. The function was wiping the entire Object Cache (Redis, Memcached, APCu) on every plugin or theme update, causing CPU spikes and database overload on high-traffic sites. The targeted `wpvulnerability_delete_transients()` call that already runs before it invalidates all plugin-owned cache entries; a global flush was never necessary.
|
||||||
|
* `wp_cache_flush()` was called twice on plugin reset: once inside `wpvulnerability_update_database_data()` and once more immediately after in `wpvulnerability_reset_plugin_data()`. Both calls have been removed.
|
||||||
|
|
||||||
= [5.0.0] - 2026-05-26 =
|
= [5.0.0] - 2026-05-26 =
|
||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|
|
||||||
Binary file not shown.
10
readme.txt
10
readme.txt
|
|
@ -3,9 +3,9 @@ Contributors: javiercasares, davidperez, lbonomo, alexclassroom
|
||||||
Tags: security, vulnerability, site-health
|
Tags: security, vulnerability, site-health
|
||||||
Requires at least: 5.6
|
Requires at least: 5.6
|
||||||
Tested up to: 7.1
|
Tested up to: 7.1
|
||||||
Stable tag: 5.0.0
|
Stable tag: 5.0.1
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
Version: 5.0.0
|
Version: 5.0.1
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
License URI: https://spdx.org/licenses/GPL-3.0-or-later.html
|
License URI: https://spdx.org/licenses/GPL-3.0-or-later.html
|
||||||
|
|
||||||
|
|
@ -201,6 +201,12 @@ First of all, peace of mind. Investigate what the vulnerability is and, above al
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= [5.0.1] - 2026-06-02 =
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
|
* `wp_cache_flush()` removed from the plugin/theme update hook and the plugin reset routine. The function was wiping the entire Object Cache (Redis, Memcached, APCu) on every update, causing CPU spikes on high-traffic sites. The targeted transient cleanup that already runs before it is sufficient.
|
||||||
|
|
||||||
= [5.0.0] - 2026-05-26 =
|
= [5.0.0] - 2026-05-26 =
|
||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,6 @@ function wpvulnerability_update_database_data() {
|
||||||
}
|
}
|
||||||
|
|
||||||
wpvulnerability_statistics_get();
|
wpvulnerability_statistics_get();
|
||||||
|
|
||||||
// Clean the WordPress cache.
|
|
||||||
wp_cache_flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -531,7 +528,6 @@ function wpvulnerability_reset_plugin_data() {
|
||||||
}
|
}
|
||||||
|
|
||||||
wpvulnerability_update_database_data();
|
wpvulnerability_update_database_data();
|
||||||
wp_cache_flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
* Description: Receive information about possible vulnerabilities in your WordPress from WordPress Vulnerability Database API.
|
* Description: Receive information about possible vulnerabilities in your WordPress from WordPress Vulnerability Database API.
|
||||||
* Requires at least: 5.6
|
* Requires at least: 5.6
|
||||||
* Requires PHP: 7.0
|
* Requires PHP: 7.0
|
||||||
* Version: 5.0.0
|
* Version: 5.0.1
|
||||||
* Author: ROBOTSTXT
|
* Author: ROBOTSTXT
|
||||||
* Author URI: https://www.robotstxt.es/
|
* Author URI: https://www.robotstxt.es/
|
||||||
* License: GPL-3.0-or-later
|
* License: GPL-3.0-or-later
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
*
|
*
|
||||||
* @package WPVulnerability
|
* @package WPVulnerability
|
||||||
*
|
*
|
||||||
* @version 5.0.0
|
* @version 5.0.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
|
defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
|
||||||
|
|
@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
|
||||||
/**
|
/**
|
||||||
* Set some constants that I can change in future versions.
|
* Set some constants that I can change in future versions.
|
||||||
*/
|
*/
|
||||||
define( 'WPVULNERABILITY_PLUGIN_VERSION', '5.0.0' );
|
define( 'WPVULNERABILITY_PLUGIN_VERSION', '5.0.1' );
|
||||||
define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' );
|
define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue