Version Description
- Use curent site prefix when retreiving 'user_roles'
Download this release
Release Info
Developer | nsp-code |
Plugin | WP Hide & Security Enhancer |
Version | 1.5.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.6.2
- modules/components/general-admin-bar.php +3 -1
- readme.txt +4 -1
- wp-hide.php +1 -1
modules/components/general-admin-bar.php
CHANGED
@@ -16,7 +16,9 @@
|
|
16 |
function get_module_settings()
|
17 |
{
|
18 |
|
19 |
-
$
|
|
|
|
|
20 |
|
21 |
foreach ( $wp_roles as $role_slug => $role )
|
22 |
{
|
16 |
function get_module_settings()
|
17 |
{
|
18 |
|
19 |
+
global $wpdb;
|
20 |
+
|
21 |
+
$wp_roles = get_option( $wpdb->base_prefix . 'user_roles');
|
22 |
|
23 |
foreach ( $wp_roles as $role_slug => $role )
|
24 |
{
|
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 =
|
295 |
* Fix BBPress menus by calling directly the wp_user_roles option ratter get_roles()
|
296 |
* Replace comments within inline JavaScript code when Remove Comments active
|
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.2
|
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.2 =
|
295 |
+
* Use curent site prefix when retreiving 'user_roles'
|
296 |
+
|
297 |
= 1.5.6 =
|
298 |
* Fix BBPress menus by calling directly the wp_user_roles option ratter get_roles()
|
299 |
* Replace comments within inline JavaScript code when Remove Comments active
|
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.2
|
9 |
Text Domain: wp-hide-security-enhancer
|
10 |
Domain Path: /languages/
|
11 |
*/
|