Version Description
Download this release
Release Info
Developer | peterebutler |
Plugin | Timthumb Vulnerability Scanner |
Version | 1.51 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.51
timthumb-vulnerability-scanner.php
CHANGED
@@ -4,14 +4,15 @@ Plugin Name: TimThumb Vulnerability Scanner
|
|
4 |
Plugin URI: http://codegarage.com/blog/2011/09/wordpress-timthumb-vulnerability-scanner-plugin-1.4/
|
5 |
Description: Keep your instances of Timthumb up to date and free from vulnerabilities simply. Bonus - checks for obvious signs of compromised sites.
|
6 |
Author: Peter Butler
|
7 |
-
Version: 1.
|
8 |
Author URI: http://codegarage.com/
|
9 |
*/
|
10 |
|
11 |
include_once 'class-cg-tvs-plugin.php';
|
12 |
-
|
13 |
-
|
14 |
-
$CG_TVS_Plugin->init();
|
|
|
15 |
add_action( 'admin_menu', array($CG_TVS_Plugin, 'add_menus' ) );
|
16 |
register_activation_hook( __FILE__, array($CG_TVS_Plugin, 'activate' ) );
|
17 |
register_deactivation_hook( __FILE__, array($CG_TVS_Plugin, 'deactivate' ) );
|
@@ -21,5 +22,6 @@ add_action('cg_tvs_daily_scan', 'cg_tvs_daily_scan');
|
|
21 |
|
22 |
function cg_tvs_daily_scan() {
|
23 |
global $CG_TVS_Plugin;
|
|
|
24 |
$CG_TVS_Plugin->scan();
|
25 |
}
|
4 |
Plugin URI: http://codegarage.com/blog/2011/09/wordpress-timthumb-vulnerability-scanner-plugin-1.4/
|
5 |
Description: Keep your instances of Timthumb up to date and free from vulnerabilities simply. Bonus - checks for obvious signs of compromised sites.
|
6 |
Author: Peter Butler
|
7 |
+
Version: 1.51
|
8 |
Author URI: http://codegarage.com/
|
9 |
*/
|
10 |
|
11 |
include_once 'class-cg-tvs-plugin.php';
|
12 |
+
$CG_TVS_Plugin = new CG_TVS_Plugin();
|
13 |
+
if(is_admin()){
|
14 |
+
$CG_TVS_Plugin->init();
|
15 |
+
}
|
16 |
add_action( 'admin_menu', array($CG_TVS_Plugin, 'add_menus' ) );
|
17 |
register_activation_hook( __FILE__, array($CG_TVS_Plugin, 'activate' ) );
|
18 |
register_deactivation_hook( __FILE__, array($CG_TVS_Plugin, 'deactivate' ) );
|
22 |
|
23 |
function cg_tvs_daily_scan() {
|
24 |
global $CG_TVS_Plugin;
|
25 |
+
$CG_TVS_Plugin->init();
|
26 |
$CG_TVS_Plugin->scan();
|
27 |
}
|