v5.1.0
This commit is contained in:
parent
9aef0b4533
commit
31f7e97d39
1 changed files with 719 additions and 655 deletions
|
|
@ -5,17 +5,18 @@
|
|||
* Description: Receive information about possible vulnerabilities in your WordPress from WordPress Vulnerability Database API.
|
||||
* Requires at least: 5.6
|
||||
* Requires PHP: 7.0
|
||||
* Version: 5.0.1
|
||||
* Version: 5.1.0
|
||||
* Author: ROBOTSTXT
|
||||
* Author URI: https://www.robotstxt.es/
|
||||
* License: GPL-3.0-or-later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
* Text Domain: wpvulnerability
|
||||
* Domain Path: /languages
|
||||
* Network: true
|
||||
*
|
||||
* @package WPVulnerability
|
||||
*
|
||||
* @version 5.0.1
|
||||
* @version 5.1.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
|
||||
|
|
@ -23,7 +24,7 @@ defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
|
|||
/**
|
||||
* Set some constants that I can change in future versions.
|
||||
*/
|
||||
define( 'WPVULNERABILITY_PLUGIN_VERSION', '5.0.1' );
|
||||
define( 'WPVULNERABILITY_PLUGIN_VERSION', '5.1.0' );
|
||||
define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' );
|
||||
|
||||
/**
|
||||
|
|
@ -119,7 +120,7 @@ if (
|
|||
( ! is_multisite() && is_admin() ) ||
|
||||
( is_multisite() && ( is_network_admin() || is_main_site() ) ) ||
|
||||
( defined( 'WP_CLI' ) && WP_CLI ) || // @phpstan-ignore booleanAnd.rightAlwaysFalse (WP_CLI is false in bootstrap but true at runtime)
|
||||
wp_doing_cron()
|
||||
( wp_doing_cron() && ( ! is_multisite() || is_main_site() ) ) // Cron events only run on the main site (see wpvulnerability-schedule.php); skip full module loading on subsite cron.
|
||||
) {
|
||||
|
||||
require_once WPVULNERABILITY_PLUGIN_PATH . '/wpvulnerability-run.php';
|
||||
|
|
|
|||
Loading…
Reference in a new issue