Version Description
- Add trailingslashit to plugins slug to be used for replacements to avoid wrong (partial) slug changes
Download this release
Release Info
Developer | nsp-code |
Plugin | WP Hide & Security Enhancer |
Version | 1.5.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.2.1 to 1.5.2.2
- modules/components/rewrite-new_plugin_path.php +2 -2
- readme.txt +5 -2
- wp-hide.php +1 -1
modules/components/rewrite-new_plugin_path.php
CHANGED
@@ -110,8 +110,8 @@
|
|
110 |
|
111 |
//add replacement
|
112 |
$new_plugin_path = $this->wph->functions->untrailingslashit_all( $this->wph->functions->get_module_item_setting('new_plugin_path') );
|
113 |
-
$replace_url = trailingslashit( WP_PLUGIN_URL ) . $active_plugin_directory;
|
114 |
-
$replacement_url = trailingslashit( home_url() ) . $plugin_custom_path;
|
115 |
$this->wph->functions->add_replacement( $replace_url, $replacement_url);
|
116 |
|
117 |
}
|
110 |
|
111 |
//add replacement
|
112 |
$new_plugin_path = $this->wph->functions->untrailingslashit_all( $this->wph->functions->get_module_item_setting('new_plugin_path') );
|
113 |
+
$replace_url = trailingslashit( trailingslashit( WP_PLUGIN_URL ) . $active_plugin_directory );
|
114 |
+
$replacement_url = trailingslashit( trailingslashit( home_url() ) . $plugin_custom_path );
|
115 |
$this->wph->functions->add_replacement( $replace_url, $replacement_url);
|
116 |
|
117 |
}
|
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.0
|
7 |
-
Stable tag: 1.5.2.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Hide and increase Security for your WordPress site instance using smart techniques. No files are changed on your server.
|
@@ -219,7 +219,7 @@ Since version 1.2 Change individual plugin urls which make them unrecognizable,
|
|
219 |
|
220 |
<br />Something is wrong with this plugin on your site? Just use the forum or get in touch with us at <a target="_blank" href="http://www.wp-hide.com">Contact</a> and we'll check it out.
|
221 |
|
222 |
-
<br />A website example can be found at <a target="_blank" href="http://nsp-code.com/demo/wp-hide/">http://nsp-code.com/demo/wp-hide/</a> or our website <a target="_blank" href="http://www.wp-hide.com/">Hide and Security Enhancer</a>
|
223 |
|
224 |
<br />Plugin homepage at <a target="_blank" href="http://www.wp-hide.com/">WordPress Hide and Security Enhancer</a>
|
225 |
|
@@ -271,6 +271,9 @@ Please get in touch with us and we'll do our best to include it for a next versi
|
|
271 |
|
272 |
== Changelog ==
|
273 |
|
|
|
|
|
|
|
274 |
= 1.5.2.1 =
|
275 |
* Fixed upload rewrite by using default_variables['upload_url']
|
276 |
* WordPrss 5.0 compatibility check
|
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.0
|
7 |
+
Stable tag: 1.5.2.2
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Hide and increase Security for your WordPress site instance using smart techniques. No files are changed on your server.
|
219 |
|
220 |
<br />Something is wrong with this plugin on your site? Just use the forum or get in touch with us at <a target="_blank" href="http://www.wp-hide.com">Contact</a> and we'll check it out.
|
221 |
|
222 |
+
<br />A website example can be found at <a target="_blank" href="http://nsp-code.com/demo/wp-hide/">http://nsp-code.com/demo/wp-hide/</a> or our website <a target="_blank" href="http://www.wp-hide.com/">WP Hide and Security Enhancer</a>
|
223 |
|
224 |
<br />Plugin homepage at <a target="_blank" href="http://www.wp-hide.com/">WordPress Hide and Security Enhancer</a>
|
225 |
|
271 |
|
272 |
== Changelog ==
|
273 |
|
274 |
+
= 1.5.2.2 =
|
275 |
+
* Add trailingslashit to plugins slug to be used for replacements to avoid wrong (partial) slug changes
|
276 |
+
|
277 |
= 1.5.2.1 =
|
278 |
* Fixed upload rewrite by using default_variables['upload_url']
|
279 |
* WordPrss 5.0 compatibility check
|
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.2.
|
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.2.2
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|