Wordfence Security – Firewall & Malware Scan - Version 3.4.5

Version Description

  • Fixed security issue of being able to list wordfence's own virtual dir on some server configurations.
  • Fixed issue of WF using deprecated function which caused warnings or errors on install.
  • Added link to security alert mailing list on "Scan" page next to manual start scan button and in tour.
Download this release

Release Info

Developer mmaunder
Plugin Icon 128x128 Wordfence Security – Firewall & Malware Scan
Version 3.4.5
Comparing to
See all releases

Code changes from version 3.4.4 to 3.4.5

Files changed (7) hide show
  1. index.php +3 -0
  2. js/admin.js +0 -1
  3. js/tourTip.js +11 -1
  4. lib/menu_scan.php +1 -1
  5. lib/wfAPI.php +1 -1
  6. readme.txt +6 -1
  7. wordfence.php +2 -2
index.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ // Silence is golden.
3
+ ?>
js/admin.js CHANGED
@@ -1122,7 +1122,6 @@ window['wordfenceAdmin'] = {
1122
  self.pulse('.wfSaveMsg');
1123
  });
1124
  }
1125
-
1126
  };
1127
  window['WFAD'] = window['wordfenceAdmin'];
1128
  }
1122
  self.pulse('.wfSaveMsg');
1123
  });
1124
  }
 
1125
  };
1126
  window['WFAD'] = window['wordfenceAdmin'];
1127
  }
js/tourTip.js CHANGED
@@ -1,8 +1,18 @@
 
 
 
 
 
 
1
  jQuery(function(){
2
  if(WordfenceAdminVars.tourClosed != '1'){
 
 
3
  jQuery('#toplevel_page_Wordfence').pointer({
4
  close: function(){},
5
- content: "<h3>Congratulations!</h3><p>You've just installed Wordfence! Click \"Start Tour\" to get a quick introduction to how Wordfence protects your site, keeps you off Google's SEO black-list and can even help clean a hacked site.</p>",
 
 
6
  pointerWidth: 300,
7
  position: { edge: 'top', align: 'left' },
8
  buttons: function(event, t){
1
+ function wfClearEmailField(){
2
+ if(jQuery('#wfListEmail').val() == "Enter your email"){
3
+ jQuery('#wfListEmail').val('');
4
+ }
5
+ }
6
+
7
  jQuery(function(){
8
  if(WordfenceAdminVars.tourClosed != '1'){
9
+ var formHTML = '<div style="padding: 0 5px 0 15px;"><form target="_new" style="display: inline;" method="post" class="af-form-wrapper" action="http://www.aweber.com/scripts/addlead.pl" ><div style="display: none;"><input type="hidden" name="meta_web_form_id" value="1428034071" /><input type="hidden" name="meta_split_id" value="" /><input type="hidden" name="listname" value="wordfence" /><input type="hidden" name="redirect" value="http://www.aweber.com/thankyou-coi.htm?m=text" id="redirect_ae9f0882518768f447c80ea8f3b7afde" /><input type="hidden" name="meta_adtracking" value="widgetForm" /><input type="hidden" name="meta_message" value="1" /><input type="hidden" name="meta_required" value="email" /><input type="hidden" name="meta_tooltip" value="" /></div><input class="text" id="wfListEmail" type="text" name="email" value="Enter your email" tabindex="500" onclick="wfClearEmailField(); return false;" /><input name="submit" type="submit" value="Get Alerts" tabindex="501" /><div style="display: none;"><img src="http://forms.aweber.com/form/displays.htm?id=jCxMHAzMLAzsjA==" alt="" /></div></form></div>';
10
+
11
  jQuery('#toplevel_page_Wordfence').pointer({
12
  close: function(){},
13
+ content: "<h3>Congratulations!</h3><p>You've just installed Wordfence! Start by joining our mailing list to get WordPress security alerts and Wordfence news:</p>" +
14
+ formHTML +
15
+ "<p>Then click \"Start Tour\" to get a quick introduction to how Wordfence protects your site, keeps you off Google's SEO black-list and can even help clean a hacked site.</p>",
16
  pointerWidth: 300,
17
  position: { edge: 'top', align: 'left' },
18
  buttons: function(event, t){
lib/menu_scan.php CHANGED
@@ -11,7 +11,7 @@
11
  </td>
12
  <td>
13
  <div style="border: 1px solid #CCC; padding: 4px;">
14
- You can <a href="#" onclick="WFAD.startTourAgain(); return false;">start the tour again</a> or <a target="_blank" href="http://www.wordfence.com/forums/">visit our support forums for help.</a> Love Wordfence? You can help by doing two simple things: <a href="http://wordpress.org/extend/plugins/wordfence/" target="_blank">Go to WordPress.org now and give this plugin a 5&#9733; rating</a>. Blog about Wordfence and link to the <a href="http://wordpress.org/extend/plugins/wordfence/" target="_blank">plugin page</a>. Spreading the word helps us keep the best features free.
15
  </div>
16
  </td>
17
  </tr>
11
  </td>
12
  <td>
13
  <div style="border: 1px solid #CCC; padding: 4px;">
14
+ You can <a href="#" onclick="WFAD.startTourAgain(); return false;">start the tour again</a>, <a href="http://www.wordfence.com/subscribe-to-the-wordfence-email-list/" target="_blank">subscribe to get WordPress Security Alerts and Product News</a> or <a target="_blank" href="http://www.wordfence.com/forums/">visit our support forums for help.</a> Love Wordfence? You can help by doing two simple things: <a href="http://wordpress.org/extend/plugins/wordfence/" target="_blank">Go to WordPress.org now and give this plugin a 5&#9733; rating</a>. Blog about Wordfence and link to the <a href="http://wordpress.org/extend/plugins/wordfence/" target="_blank">plugin page</a>. Spreading the word helps us keep the best features free.
15
  </div>
16
  </td>
17
  </tr>
lib/wfAPI.php CHANGED
@@ -159,7 +159,7 @@ class wfAPI {
159
  $siteurl = network_home_url();
160
  $siteurl = rtrim($siteurl, '/'); //Because previously we used get_bloginfo and it returns http://example.com without a '/' char.
161
  } else {
162
- $siteurl = get_bloginfo('siteurl');
163
  }
164
  }
165
  return self::buildQuery(array(
159
  $siteurl = network_home_url();
160
  $siteurl = rtrim($siteurl, '/'); //Because previously we used get_bloginfo and it returns http://example.com without a '/' char.
161
  } else {
162
+ $siteurl = home_url();
163
  }
164
  }
165
  return self::buildQuery(array(
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mmaunder
3
  Tags: wordpress, security, wordpress security, security plugin, secure, anti-virus, malware, firewall, antivirus, virus, google safe browsing, phishing, scrapers, hacking, wordfence, securty, secrity, secure
4
  Requires at least: 3.3.1
5
  Tested up to: 3.4.2
6
- Stable tag: 3.4.4
7
 
8
  Wordfence Security is a free enterprise class security plugin that includes a firewall, virus scanning, real-time traffic with geolocation and more.
9
 
@@ -154,6 +154,11 @@ or a theme, because often these have been updated to fix a security hole.
154
 
155
  == Changelog ==
156
 
 
 
 
 
 
157
  = 3.4.4 =
158
  * Fixed issue that caused scans to not complete.
159
  * Fixed issue that caused scans to launch a large number of child processes due to very short scan timeout.
3
  Tags: wordpress, security, wordpress security, security plugin, secure, anti-virus, malware, firewall, antivirus, virus, google safe browsing, phishing, scrapers, hacking, wordfence, securty, secrity, secure
4
  Requires at least: 3.3.1
5
  Tested up to: 3.4.2
6
+ Stable tag: 3.4.5
7
 
8
  Wordfence Security is a free enterprise class security plugin that includes a firewall, virus scanning, real-time traffic with geolocation and more.
9
 
154
 
155
  == Changelog ==
156
 
157
+ = 3.4.5 =
158
+ * Fixed security issue of being able to list wordfence's own virtual dir on some server configurations.
159
+ * Fixed issue of WF using deprecated function which caused warnings or errors on install.
160
+ * Added link to security alert mailing list on "Scan" page next to manual start scan button and in tour.
161
+
162
  = 3.4.4 =
163
  * Fixed issue that caused scans to not complete.
164
  * Fixed issue that caused scans to launch a large number of child processes due to very short scan timeout.
wordfence.php CHANGED
@@ -4,10 +4,10 @@ Plugin Name: Wordfence Security
4
  Plugin URI: http://wordfence.com/
5
  Description: Wordfence Security - Anti-virus and Firewall security plugin for WordPress
6
  Author: Mark Maunder
7
- Version: 3.4.4
8
  Author URI: http://wordfence.com/
9
  */
10
- define('WORDFENCE_VERSION', '3.4.4');
11
  if(get_option('wordfenceActivated') != 1){
12
  add_action('activated_plugin','wordfence_save_activation_error'); function wordfence_save_activation_error(){ update_option('wf_plugin_act_error', ob_get_contents()); }
13
  }
4
  Plugin URI: http://wordfence.com/
5
  Description: Wordfence Security - Anti-virus and Firewall security plugin for WordPress
6
  Author: Mark Maunder
7
+ Version: 3.4.5
8
  Author URI: http://wordfence.com/
9
  */
10
+ define('WORDFENCE_VERSION', '3.4.5');
11
  if(get_option('wordfenceActivated') != 1){
12
  add_action('activated_plugin','wordfence_save_activation_error'); function wordfence_save_activation_error(){ update_option('wf_plugin_act_error', ob_get_contents()); }
13
  }