get_userdatabylogin not used since 3.3
-
Great plugin thanks!
I have found a warning:
Notice: get_userdatabylogin not used since 3.3! Use get_user_by(‘login’) + in /wp-includes/functions.php on line 3391Solution:
ip-based-login.php line 149:
$user = get_userdatabylogin($username);
change to
$user = get_user_by(‘login’);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_userdatabylogin not used since 3.3’ is closed to new replies.