WP Hide & Security Enhancer - Version 1.6.0.9.1

Version Description

  • Ignore CDN value check for domain name similitude
Download this release

Release Info

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

Code changes from version 1.6.0.9 to 1.6.0.9.1

Files changed (3) hide show
  1. include/functions.class.php +13 -7
  2. readme.txt +4 -1
  3. wp-hide.php +1 -1
include/functions.class.php CHANGED
@@ -253,16 +253,22 @@
253
  $_settings_for_regex[ $field_name ] = $parts[0];
254
  }
255
 
256
-
257
- $reserved_values = array(
258
- 'wp' => __('is a system reserved.', 'wp-hide-security-enhancer'),
259
- 'admin' => __('is a system reserved.', 'wp-hide-security-enhancer'),
260
- 'admin-ajax.php' => __('is a system reserved.', 'wp-hide-security-enhancer')
261
- );
 
 
 
 
262
 
263
  $domain_parsed = parse_url ( home_url() ) ;
264
  $domain_parsed_host_parts = explode ( "." , $domain_parsed['host'] );
265
- $reserved_values[$domain_parsed_host_parts[0]] = __('is similar to domain name.', 'wp-hide-security-enhancer');
 
 
266
 
267
  //clean the just updated fields within main settings array
268
  foreach($unique_require_updated_settings as $field_name => $data)
253
  $_settings_for_regex[ $field_name ] = $parts[0];
254
  }
255
 
256
+ if ( $tab_slug != 'cdn' )
257
+ {
258
+ $reserved_values = array(
259
+ 'wp' => __('is a system reserved.', 'wp-hide-security-enhancer'),
260
+ 'admin' => __('is a system reserved.', 'wp-hide-security-enhancer'),
261
+ 'admin-ajax.php' => __('is a system reserved.', 'wp-hide-security-enhancer')
262
+ );
263
+ }
264
+ else
265
+ $reserved_values = array();
266
 
267
  $domain_parsed = parse_url ( home_url() ) ;
268
  $domain_parsed_host_parts = explode ( "." , $domain_parsed['host'] );
269
+
270
+ if ( $tab_slug != 'cdn' )
271
+ $reserved_values[$domain_parsed_host_parts[0]] = __('is similar to domain name.', 'wp-hide-security-enhancer');
272
 
273
  //clean the just updated fields within main settings array
274
  foreach($unique_require_updated_settings as $field_name => $data)
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.5
7
- Stable tag: 1.6.0.9
8
  License: GPLv2 or later
9
 
10
  Hide and increase Security for your WordPress site using smart techniques. No files are changed on your server. Change default admin and wp-login urls
@@ -345,6 +345,9 @@ Please get in touch with us and we'll do our best to include it for a next versi
345
 
346
  == Changelog ==
347
 
 
 
 
348
  = 1.6.0.9 =
349
  * LiteSpeed guide on Setup interface
350
  * New functionality - Disable mouse right click
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.5
7
+ Stable tag: 1.6.0.9.1
8
  License: GPLv2 or later
9
 
10
  Hide and increase Security for your WordPress site using smart techniques. No files are changed on your server. Change default admin and wp-login urls
345
 
346
  == Changelog ==
347
 
348
+ = 1.6.0.9.1 =
349
+ * Ignore CDN value check for domain name similitude
350
+
351
  = 1.6.0.9 =
352
  * LiteSpeed guide on Setup interface
353
  * New functionality - Disable mouse right click
wp-hide.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.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.6.0.9
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.6.0.9.1
9
  Text Domain: wp-hide-security-enhancer
10
  Domain Path: /languages/
11
  */