Very small bug and fix
-
Hi !
I install your plugin on a new website and you have a problem with a check for change the user id 1 to something else.
If you already change your account admin to something else, the check for the 1 don’t occur but the alert still apear on the Dashboard.So, this is the easy fix :
On better-wp-security/modules/free/admin-user/class-itsec-admin-user-admin.php line 228, change this :
if ( ITSEC_Lib::user_id_exists( 1 ) && username_exists( ‘admin’ ) ) {
To this :
if ( ITSEC_Lib::user_id_exists( 1 ) || username_exists( ‘admin’ ) ) {
Have a nice day.
Regards,
Xéfir Destiny
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Very small bug and fix’ is closed to new replies.