Acunetix WP Security - Version 2.2.59.1

Version Description

Download this release

Release Info

Developer hallsofmontezuma
Plugin Icon wp plugin Acunetix WP Security
Version 2.2.59.1
Comparing to
See all releases

Code changes from version 2.2.57.1 to 2.2.59.1

Files changed (3) hide show
  1. functions.php +5 -4
  2. readme.txt +13 -3
  3. securityscan.php +5 -2
functions.php CHANGED
@@ -96,14 +96,15 @@ function mrt_wpdberrors()
96
  }
97
 
98
  function mrt_version_removal(){
99
- echo '<font color="green">Your WordPress version is successfully hidden.</font><br />';
 
100
  }
101
 
102
  function mrt_remove_wp_version()
103
  {
104
  if (!is_admin()) {
105
  global $wp_version;
106
- $wp_version = '';
107
  }
108
 
109
  }
@@ -111,8 +112,8 @@ function mrt_remove_wp_version()
111
  function mrt_check_version(){
112
  //echo "WordPress Version: ";
113
  global $wp_version;
114
- if ($wp_version == 2.5.1) $g2k5 = '<font color="green"><strong>WordPress version: ' . $wp_version . '</strong> &nbsp;&nbsp;&nbsp; You have the latest stable version of WordPress.</font><br />';
115
- if ($wp_version < 2.5.1) $g2k5 = '<font color="red"><strong>WordPress version: ' . $wp_version . '</strong> &nbsp;&nbsp;&nbsp; You need version 2.5.1. Please <a href="http://wordpress.org/download/">upgrade</a> immediately.</font><br />';
116
  /*echo "<b>" . $wp_version . "</b> &nbsp;&nbsp;&nbsp " ;*/echo $g2k5;
117
  }
118
 
96
  }
97
 
98
  function mrt_version_removal(){
99
+ global $wp_version;
100
+ echo '<font color="green">Your WordPress version is successfully hidden.</font><br />';
101
  }
102
 
103
  function mrt_remove_wp_version()
104
  {
105
  if (!is_admin()) {
106
  global $wp_version;
107
+ $wp_version = 'abc';
108
  }
109
 
110
  }
112
  function mrt_check_version(){
113
  //echo "WordPress Version: ";
114
  global $wp_version;
115
+ if ($wp_version == "2.5.1") $g2k5 = '<font color="green"><strong>WordPress version: ' . $wp_version . '</strong> &nbsp;&nbsp;&nbsp; You have the latest stable version of WordPress.</font><br />';
116
+ if ($wp_version != "2.5.1") $g2k5 = '<font color="red"><strong>WordPress version: ' . $wp_version . '</strong> &nbsp;&nbsp;&nbsp; You need version 2.5.1. Please <a href="http://wordpress.org/download/">upgrade</a> immediately.</font><br />';
117
  /*echo "<b>" . $wp_version . "</b> &nbsp;&nbsp;&nbsp " ;*/echo $g2k5;
118
  }
119
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://semperfiwebdesign.com
4
  Tags: security, securityscan, chmod, permissions, admin, administration, authentication, database, dashboard, post, notification, password, plugin, posts
5
  plugins, private, protection, tracking, wordpress
6
  Requires at least: 2.0
7
- Tested up to: 2.5
8
- Stable tag: 2.2.57.1
9
 
10
  Scans your WordPress installation for security vulnerabilities.
11
 
@@ -30,7 +30,10 @@ corrective actions.
30
  *user enumeration protection<br />
31
  *.htaccess verification<br />
32
  *doc links<br />
33
- *change log
 
 
 
34
 
35
  == Installation ==
36
 
@@ -73,6 +76,13 @@ that rely on software versions.
73
  NOTE: Hiding your version of WordPress may break any plugins you have which
74
  are version dependant.
75
 
 
 
 
 
 
 
 
76
  == Screenshots ==
77
 
78
  1. file/directories permissions check
4
  Tags: security, securityscan, chmod, permissions, admin, administration, authentication, database, dashboard, post, notification, password, plugin, posts
5
  plugins, private, protection, tracking, wordpress
6
  Requires at least: 2.0
7
+ Tested up to: 2.5.1
8
+ Stable tag: 2.2.59.1
9
 
10
  Scans your WordPress installation for security vulnerabilities.
11
 
30
  *user enumeration protection<br />
31
  *.htaccess verification<br />
32
  *doc links<br />
33
+
34
+ [Changelog](http://semperfiwebdesign.com/documentation/wp-security-scan/changelog/ "WP Security Scan Changelog")
35
+ [Documentation](http://semperfiwebdesign.com/category/documentation/wp-security-scan/ "WP Security Scan
36
+ Documentation")
37
 
38
  == Installation ==
39
 
76
  NOTE: Hiding your version of WordPress may break any plugins you have which
77
  are version dependant.
78
 
79
+ = How do I make Dagon Design's sitemap generator plugin compatible? =
80
+ There is currently a small compatibility issue. This can be temporarily
81
+ solved by opening securityscan.php and commenting out the line
82
+ `add_action("init",mrt_remove_wp_version,1);`
83
+ I have contacted Dagon Designs about creating a solution, which should
84
+ hopefully be in a future upgrade to their plugin.
85
+
86
  == Screenshots ==
87
 
88
  1. file/directories permissions check
securityscan.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Security Scan
4
  Plugin URI: http://semperfiwebdesign.com/plugins/wp-security-scan/
5
  Description: Perform security scan of WordPress installation.
6
  Author: Michael Torbert
7
- Version: 2.2.57.1
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
 
@@ -32,12 +32,15 @@ require_once(ABSPATH."wp-content/plugins/wp-security-scan/database.php");
32
  require_once(ABSPATH."wp-content/plugins/wp-security-scan/functions.php");
33
  //require_once(ABSPATH."wp-content/plugins/wp-security-scan/scripts.js");
34
 
 
35
  add_action( 'admin_notices', mrt_update_notice, 5 );
36
  add_action('admin_head', 'mrt_hd');
37
  add_action("init",mrt_wpdberrors,1);
38
  add_action("parse_query",mrt_wpdberrors,1);
39
  add_action('admin_menu', 'add_men_pg');
40
- add_action("init",mrt_remove_wp_version,1);
 
 
41
  remove_action('wp_head', 'wp_generator');
42
  //add_action('admin_head', 'mrt_root_scripts');
43
  function add_men_pg() {
4
  Plugin URI: http://semperfiwebdesign.com/plugins/wp-security-scan/
5
  Description: Perform security scan of WordPress installation.
6
  Author: Michael Torbert
7
+ Version: 2.2.59.1
8
  Author URI: http://semperfiwebdesign.com/
9
  */
10
 
32
  require_once(ABSPATH."wp-content/plugins/wp-security-scan/functions.php");
33
  //require_once(ABSPATH."wp-content/plugins/wp-security-scan/scripts.js");
34
 
35
+
36
  add_action( 'admin_notices', mrt_update_notice, 5 );
37
  add_action('admin_head', 'mrt_hd');
38
  add_action("init",mrt_wpdberrors,1);
39
  add_action("parse_query",mrt_wpdberrors,1);
40
  add_action('admin_menu', 'add_men_pg');
41
+ add_action("init",mrt_remove_wp_version,1); //comment out this line to make ddsitemapgen work
42
+
43
+
44
  remove_action('wp_head', 'wp_generator');
45
  //add_action('admin_head', 'mrt_root_scripts');
46
  function add_men_pg() {