Version Description
- Add dashboard and cpanel to system reserved to avoid permalinks conflicts
- LiteSpeed Cache compatibility update
- WP-Optimize compatibility update
Download this release
Release Info
Developer | nsp-code |
Plugin | WP Hide & Security Enhancer |
Version | 1.6.3.6 |
Comparing to | |
See all releases |
Code changes from version 1.6.3.4 to 1.6.3.6
- compatibility/litespeed-cache.php +12 -0
- compatibility/wp-optimize.php +5 -1
- include/functions.class.php +3 -1
- readme.txt +7 -2
- wp-hide.php +1 -1
compatibility/litespeed-cache.php
CHANGED
@@ -22,6 +22,8 @@
|
|
22 |
|
23 |
$this->wph = $wph;
|
24 |
|
|
|
|
|
25 |
add_action('litespeed_optm_cssjs', array( $this, 'litespeed_optm_cssjs') , 999, 3 );
|
26 |
add_action('litespeed_ccss', array( $this, 'litespeed_optm_cssjs') , 999, 2 );
|
27 |
|
@@ -44,6 +46,16 @@
|
|
44 |
|
45 |
return $buffer;
|
46 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
}
|
22 |
|
23 |
$this->wph = $wph;
|
24 |
|
25 |
+
add_action( 'litespeed_buffer_before', array( $this, 'litespeed_buffer_before') , 999 );
|
26 |
+
|
27 |
add_action('litespeed_optm_cssjs', array( $this, 'litespeed_optm_cssjs') , 999, 3 );
|
28 |
add_action('litespeed_ccss', array( $this, 'litespeed_optm_cssjs') , 999, 2 );
|
29 |
|
46 |
|
47 |
return $buffer;
|
48 |
}
|
49 |
+
|
50 |
+
|
51 |
+
function litespeed_buffer_before( $buffer )
|
52 |
+
{
|
53 |
+
|
54 |
+
$buffer = $this->wph->ob_start_callback( $buffer );
|
55 |
+
|
56 |
+
return $buffer;
|
57 |
+
|
58 |
+
}
|
59 |
|
60 |
|
61 |
}
|
compatibility/wp-optimize.php
CHANGED
@@ -21,7 +21,11 @@
|
|
21 |
|
22 |
$this->wph = $wph;
|
23 |
|
24 |
-
add_filter( 'wpo_pre_cache_buffer', array( $this , 'wpo_pre_cache_buffer' ), 99, 2 );
|
|
|
|
|
|
|
|
|
25 |
}
|
26 |
|
27 |
static function is_plugin_active()
|
21 |
|
22 |
$this->wph = $wph;
|
23 |
|
24 |
+
add_filter( 'wpo_pre_cache_buffer', array( $this , 'wpo_pre_cache_buffer' ), 99, 2 );
|
25 |
+
|
26 |
+
$option_remove_html_comments = $this->wph->functions->get_module_item_setting( 'remove_html_comments' );
|
27 |
+
if ( $option_remove_html_comments == 'yes' )
|
28 |
+
add_filter ( 'wpo_cache_show_cached_by_comment', "__return_false" );
|
29 |
}
|
30 |
|
31 |
static function is_plugin_active()
|
include/functions.class.php
CHANGED
@@ -261,7 +261,9 @@
|
|
261 |
$reserved_values = array(
|
262 |
'wp' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
263 |
'admin' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
264 |
-
'admin-ajax.php' => __('is a system reserved.', 'wp-hide-security-enhancer')
|
|
|
|
|
265 |
);
|
266 |
}
|
267 |
else
|
261 |
$reserved_values = array(
|
262 |
'wp' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
263 |
'admin' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
264 |
+
'admin-ajax.php' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
265 |
+
'dashboard' => __('is a system reserved.', 'wp-hide-security-enhancer'),
|
266 |
+
'cpanel' => __('is a system reserved.', 'wp-hide-security-enhancer')
|
267 |
);
|
268 |
}
|
269 |
else
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: nsp-code, tdgu
|
|
3 |
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.7
|
7 |
-
Stable tag: 1.6.3.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Hide WordPress default paths, 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.
|
@@ -355,6 +355,11 @@ Please get in touch with us and we'll do our best to include it for a next versi
|
|
355 |
|
356 |
== Changelog ==
|
357 |
|
|
|
|
|
|
|
|
|
|
|
358 |
= 1.6.3.4 =
|
359 |
* Update compatibility file for TranslatePress - Multilingual
|
360 |
|
3 |
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.7.1
|
7 |
+
Stable tag: 1.6.3.6
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Hide WordPress default paths, 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.
|
355 |
|
356 |
== Changelog ==
|
357 |
|
358 |
+
= 1.6.3.6 =
|
359 |
+
* Add dashboard and cpanel to system reserved to avoid permalinks conflicts
|
360 |
+
* LiteSpeed Cache compatibility update
|
361 |
+
* WP-Optimize compatibility update
|
362 |
+
|
363 |
= 1.6.3.4 =
|
364 |
* Update compatibility file for TranslatePress - Multilingual
|
365 |
|
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.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.6.3.6
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|