Version Description
- Fix: remove javascript comments produce worng replacements on specific format.
Download this release
Release Info
Developer | nsp-code |
Plugin | WP Hide & Security Enhancer |
Version | 1.5.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.6.2 to 1.5.6.3
- modules/components/general-html.php +1 -1
- readme.txt +4 -1
- router/environment.php +1 -1
- wp-hide.php +1 -1
modules/components/general-html.php
CHANGED
@@ -153,7 +153,7 @@
|
|
153 |
$buffer = preg_replace('/<!--(?!\s*(?:\[if [^\]]+]|<!|>))(?:(?!-->)(.|\n))*-->/sm', "" , $buffer);
|
154 |
|
155 |
//replace any JavaScript comments
|
156 |
-
|
157 |
|
158 |
//remove empty multiple new lines
|
159 |
$buffer = preg_replace("/(\n){2,}/", "\n", $buffer);
|
153 |
$buffer = preg_replace('/<!--(?!\s*(?:\[if [^\]]+]|<!|>))(?:(?!-->)(.|\n))*-->/sm', "" , $buffer);
|
154 |
|
155 |
//replace any JavaScript comments
|
156 |
+
//$buffer = preg_replace('/\/\*[\s\S]*?\*\/|([^:]|^)\/\/.*$/sm', "" , $buffer);
|
157 |
|
158 |
//remove empty multiple new lines
|
159 |
$buffer = preg_replace("/(\n){2,}/", "\n", $buffer);
|
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.1.1
|
7 |
-
Stable tag: 1.5.6.
|
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
|
@@ -291,6 +291,9 @@ Please get in touch with us and we'll do our best to include it for a next versi
|
|
291 |
|
292 |
== Changelog ==
|
293 |
|
|
|
|
|
|
|
294 |
= 1.5.6.2 =
|
295 |
* Use curent site prefix when retreiving 'user_roles'
|
296 |
|
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.1.1
|
7 |
+
Stable tag: 1.5.6.3
|
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
|
291 |
|
292 |
== Changelog ==
|
293 |
|
294 |
+
= 1.5.6.3 =
|
295 |
+
* Fix: remove javascript comments produce worng replacements on specific format.
|
296 |
+
|
297 |
= 1.5.6.2 =
|
298 |
* Use curent site prefix when retreiving 'user_roles'
|
299 |
|
router/environment.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
2 |
-
$environment_variable = '{"theme":{"folder_name":"
|
1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
2 |
+
$environment_variable = '{"theme":{"folder_name":"twentynineteen","mapped_name":"eereer"},"allowed_paths":["F:\/htdocs\/wp-hide.dev\/wp-content\/themes"],"cache_path":"F:\/htdocs\/wp-hide.dev\/wp-content\/cache\/wph\/","wordpress_directory":"","site_relative_path":"\/"}' ?>
|
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.5.6.
|
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.5.6.3
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|