incompatible wp_login_failed hook usage
-
Hi,
I’ve had issues with this plugin because of the usage of wp_login_failed hook.
function pr_authenticate($error, $user, $pass) { if (!empty($user)) { $error->user_login = $_POST['log']; } if (is_wp_error($error)) { //do_action('wp_login_failed', $error); // Your way do_action('wp_login_failed', $error->user_login); // Supposed way } return $error; }
This usage provides issues with many other plugins.
As have your own hook in wp_login_failed aswell, I suggest you the change the hook name to pr_login_failed instead and call both of the seprately.
- The topic ‘incompatible wp_login_failed hook usage’ is closed to new replies.