WordPress.org

Make WordPress Core

Changeset 21202


Ignore:
Timestamp:
06/30/12 15:04:06 (22 months ago)
Author:
nacin
Message:

Eliminate $user_pass_md5. fixes #21125.

File:
1 edited

Legend:

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

    r20612 r21202  
    921921 * @global string $user_email The email address of the user 
    922922 * @global string $user_url The url in the user's profile 
    923  * @global string $user_pass_md5 MD5 of the user's password 
    924923 * @global string $user_identity The display name of the user 
    925924 * 
     
    927926 */ 
    928927function setup_userdata($for_user_id = '') { 
    929     global $user_login, $userdata, $user_level, $user_ID, $user_email, $user_url, $user_pass_md5, $user_identity; 
     928    global $user_login, $userdata, $user_level, $user_ID, $user_email, $user_url, $user_identity; 
    930929 
    931930    if ( '' == $for_user_id ) 
     
    939938 
    940939    if ( ! $user->exists() ) { 
    941         $user_login = $user_email = $user_url = $user_pass_md5 = $user_identity = ''; 
     940        $user_login = $user_email = $user_url = $user_identity = ''; 
    942941        return; 
    943942    } 
     
    947946    $user_email = $user->user_email; 
    948947    $user_url   = $user->user_url; 
    949     $user_pass_md5 = md5( $user->user_pass ); 
    950948    $user_identity = $user->display_name; 
    951949} 
Note: See TracChangeset for help on using the changeset viewer.