WordPress.org

Make WordPress Core

Changeset 7692


Ignore:
Timestamp:
04/16/08 04:49:19 (6 years ago)
Author:
ryan
Message:

Relocate wp_authenticate action to fix back compat and make it more useful. fixes #6675 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r7645 r7692  
    2020        $credentials['remember'] = false; 
    2121 
     22    do_action_ref_array('wp_authenticate', array(&$credentials['user_login'], &$credentials['user_password'])); 
     23 
    2224    // If no credential info provided, check cookie. 
    2325    if ( empty($credentials['user_login']) && empty($credentials['user_password']) ) { 
     
    4244        return $error; 
    4345    } 
    44  
    45     do_action_ref_array('wp_authenticate', array(&$credentials['user_login'], &$credentials['user_password'])); 
    4646 
    4747    $user = wp_authenticate($credentials['user_login'], $credentials['user_password']); 
Note: See TracChangeset for help on using the changeset viewer.