WP Hide & Security Enhancer - Version 1.7.4

Version Description

Always keep plugin up to date.

Download this release

Release Info

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

Code changes from version 1.7.3 to 1.7.4

modules/components/general-emulate.php CHANGED
@@ -68,6 +68,10 @@
68
 
69
  function emulate_cms_meta( $buffer )
70
  {
 
 
 
 
71
  $emulate_cms = $this->wph->functions->get_module_item_setting('emulate_cms');
72
  switch ( $emulate_cms )
73
  {
68
 
69
  function emulate_cms_meta( $buffer )
70
  {
71
+ //ensure this is a html content
72
+ if ( stripos( $buffer, '<head' ) === FALSE )
73
+ return $buffer;
74
+
75
  $emulate_cms = $this->wph->functions->get_module_item_setting('emulate_cms');
76
  switch ( $emulate_cms )
77
  {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.nsp-code.com/
4
  Tags: wordpress hide, hide, security, improve security, hacking, wp hide, custom login, wp-loging.php, wp-admin, admin hide, login change,
5
  Requires at least: 2.8
6
  Tested up to: 5.8.2
7
- Stable tag: 1.7.3
8
  License: GPLv2 or later
9
 
10
  Hide WordPress, wp-content, wp-includes, wp-admin, login URL, plugins, themes etc. Block the defaults for being still accessible. No files and data are changed on your server.
@@ -360,6 +360,9 @@ Please get in touch with us and we'll do our best to include it for a next versi
360
 
361
  == Changelog ==
362
 
 
 
 
363
  = 1.7.3 =
364
  * New functionality, block wp-json for everyone or non-logged-in users.
365
  * Fix Emulate CMS documentation url.
4
  Tags: wordpress hide, hide, security, improve security, hacking, wp hide, custom login, wp-loging.php, wp-admin, admin hide, login change,
5
  Requires at least: 2.8
6
  Tested up to: 5.8.2
7
+ Stable tag: 1.7.4
8
  License: GPLv2 or later
9
 
10
  Hide WordPress, wp-content, wp-includes, wp-admin, login URL, plugins, themes etc. Block the defaults for being still accessible. No files and data are changed on your server.
360
 
361
  == Changelog ==
362
 
363
+ = 1.7.3 =
364
+ * Fix: If Emulate CMS active, ensure the buffer is an HTML content
365
+
366
  = 1.7.3 =
367
  * New functionality, block wp-json for everyone or non-logged-in users.
368
  * Fix Emulate CMS documentation url.
wp-hide.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wp-hide.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.7.3
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */
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.7.4
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */