WP Hide & Security Enhancer - Version 1.3.3.2

Version Description

  • DOMDocument encoding fix for "Remove the autogenerated meta generator"
Download this release

Release Info

Developer nsp-code
Plugin Icon 128x128 WP Hide & Security Enhancer
Version 1.3.3.2
Comparing to
See all releases

Code changes from version 1.3.3.1 to 1.3.3.2

modules/components/general-meta.php CHANGED
@@ -152,9 +152,10 @@
152
  $doc = new DOMDocument();
153
  $doc->preserveWhiteSpace = true;
154
 
155
- if ( @$doc->loadHTML($buffer) === false )
156
  return $buffer;
157
 
 
158
  $doc->formatOutput = true;
159
 
160
  $xpath = new DOMXPath($doc);
@@ -169,7 +170,9 @@
169
  $parent->removeChild($node);
170
  }
171
 
172
- $buffer = $doc->saveHTML();
 
 
173
 
174
  return $buffer;
175
 
152
  $doc = new DOMDocument();
153
  $doc->preserveWhiteSpace = true;
154
 
155
+ if ( @$doc->loadHTML(mb_convert_encoding($buffer, 'HTML-ENTITIES', 'UTF-8'), LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD) === false )
156
  return $buffer;
157
 
158
+ $doc->encoding = 'UTF-8';
159
  $doc->formatOutput = true;
160
 
161
  $xpath = new DOMXPath($doc);
170
  $parent->removeChild($node);
171
  }
172
 
173
+ $doc->normalizeDocument();
174
+
175
+ $buffer = $doc->saveHTML( $dom->documentElement );
176
 
177
  return $buffer;
178
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.nsp-code.com/donate.php
4
  Tags: hide, security, improve security, hacking, wp hide, wordpress hide, custom login url, wp-loging.php, ap-admin
5
  Requires at least: 2.8
6
  Tested up to: 4.5.3
7
- Stable tag: 1.3.3.1
8
 
9
  Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
10
 
@@ -14,6 +14,8 @@ The **easy way to completely hide your WordPress** core files, theme and plugins
14
 
15
  Change the default WordPress login urls from wp-admin and wp-login.php to something totally arbitrary. No one will ever know where to try to guess a login and hack into your site. Totally invisible !!
16
 
 
 
17
  Being the best content management system, widely used, WordPress is susceptible to a large range of hacking attacks including brute-force, SQL injections, XSS, XSRF etc. Despite the fact the WordPress core is a very secure code maintained by a team of professional enthusiast, the additional plugins and themes makes the vulnerable spot of every website. In many cases, those are created by pseudo-developers who do not follow the best coding practices or simply do not own the experience to create a secure plugin.
18
  Statistics reveal that every day new vulnerabilities are discovered, many affecting hundreds of thousands of WordPress websites.
19
  Over 99,9% of hacked WordPress websites are target of automated malware scripts, who search for certain WordPress fingerprints. This plugin hide or replace those traces, making the hacking boots attacks useless.
@@ -206,8 +208,11 @@ Please get in touch with us and we'll do our best to include it for a next versi
206
 
207
  == Changelog ==
208
 
 
 
 
209
  = 1.3.3.1 =
210
- * DOMDocument encoding fix for remove styles links attribute
211
 
212
  = 1.3.3 =
213
  * Improve Remove Generator Meta - Use DOMDocument to remove any meta generator tag
4
  Tags: hide, security, improve security, hacking, wp hide, wordpress hide, custom login url, wp-loging.php, ap-admin
5
  Requires at least: 2.8
6
  Tested up to: 4.5.3
7
+ Stable tag: 1.3.3.2
8
 
9
  Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
10
 
14
 
15
  Change the default WordPress login urls from wp-admin and wp-login.php to something totally arbitrary. No one will ever know where to try to guess a login and hack into your site. Totally invisible !!
16
 
17
+ When testing with WordPress theme and plugins detector services/sites, any setting change may not reflect right away on their reports, since they use cache. So you may want to check again later, or try a different inner url, homepage url usage is not mandatory.
18
+
19
  Being the best content management system, widely used, WordPress is susceptible to a large range of hacking attacks including brute-force, SQL injections, XSS, XSRF etc. Despite the fact the WordPress core is a very secure code maintained by a team of professional enthusiast, the additional plugins and themes makes the vulnerable spot of every website. In many cases, those are created by pseudo-developers who do not follow the best coding practices or simply do not own the experience to create a secure plugin.
20
  Statistics reveal that every day new vulnerabilities are discovered, many affecting hundreds of thousands of WordPress websites.
21
  Over 99,9% of hacked WordPress websites are target of automated malware scripts, who search for certain WordPress fingerprints. This plugin hide or replace those traces, making the hacking boots attacks useless.
208
 
209
  == Changelog ==
210
 
211
+ = 1.3.3.2 =
212
+ * DOMDocument encoding fix for "Remove the autogenerated meta generator"
213
+
214
  = 1.3.3.1 =
215
+ * DOMDocument encoding fix for "remove styles links attribute"
216
 
217
  = 1.3.3 =
218
  * Improve Remove Generator Meta - Use DOMDocument to remove any meta generator tag
wp-hide.php CHANGED
@@ -5,14 +5,14 @@ Plugin URI: http://www.nsp-code.com
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
- Version: 1.3.3.1
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */
12
 
13
 
14
  define('WPH_PATH', plugin_dir_path(__FILE__));
15
- define('WPH_VERSION', '1.3.3.1');
16
 
17
  //load language files
18
  add_action( 'plugins_loaded', 'WPH_load_textdomain');
5
  Description: Hide and increase Security for your WordPress website instance using smart techniques. No files are changed on your server.
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
+ Version: 1.3.3.2
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */
12
 
13
 
14
  define('WPH_PATH', plugin_dir_path(__FILE__));
15
+ define('WPH_VERSION', '1.3.3.2');
16
 
17
  //load language files
18
  add_action( 'plugins_loaded', 'WPH_load_textdomain');