PluginProbe
WPVulnerability / 0.1
WPVulnerability v0.1
5.1.6 5.1.2 5.1.1 5.0.1 5.0.0 trunk 0.1 0.2 1.0 1.0.1 1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 All 57 releases
wpvulnerability / wpvulnerability.php

wpvulnerability.php in WPVulnerability 0.1, at wpvulnerability.php

50 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: WPVulnerability
4 * Plugin URI: https://vulnerability.wpsysadmin.com/
5 * Description: Check the security of the WordPress site with the WordPress Vulnerability Database information. Analyzes vulnerabilities in core, plugins and themes.
6 * Requires at least: 5.2
7 * Requires PHP: 7.2
8 * Version: 0.1
9 * Author: closetechnology
10 * Author URI: https://close.technology/
11 * Text Domain: wpvulnerability
12 * Domain Path: /languages
13 * License: EUPL v1.2
14 * License URI: https://www.eupl.eu/1.2/en/
15 *
16 * @package WordPress
17 * @author Closetechnology
18 * @copyright 2022 Closetechnology
19 * @license GPL-2.0+
20 *
21 * @wordpress-plugin
22 *
23 * Prefix: wpvul
24 */
25
26 defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
27
28 // Set the plugin URL root.
29 define( 'WPVULNERABILITY_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
30
31 // Set the plugin version.
32 define( 'WPVULNERABILITY_PLUGIN_VERSION', '0.1' );
33
34 add_action( 'plugins_loaded', 'wpvul_plugin_init' );
35 /**
36 * Load localization files
37 *
38 * @return void
39 */
40 function wpvul_plugin_init() {
41 load_plugin_textdomain( 'wpvulnerability', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
42 }
43
44 require_once plugin_dir_path( __FILE__ ) . '/includes/class-api-vulnerability.php';
45
46 require_once plugin_dir_path( __FILE__ ) . '/includes/class-health-check-vulnerability.php';
47
48 // Initialize our plugin.
49 new Health_Vulnerability();
50