What I don’t understand is how is this a trigger for wp_login in pluggable.php. A little further down in the code (wp-login.php)it actually calls wp_login directly. Can you help me understand this? I would like to pass WP an already encrypted string.
do_action(‘wp_authenticate’, array(&$user_login, &$user_pass));
….
….
….
if ( wp_login($user_login, $user_pass, $using_cookie) ) {
if ( !$using_cookie )
wp_setcookie($user_login, $user_pass, false, ”, ”, $rememberme);
do_action(‘wp_login’, $user_login);
wp_redirect($redirect_to);
exit;
} else {
if ( $using_cookie )
$error = __(‘Your session has expired.’);
}
}
-Phibertek