WordPress.org

Make WordPress Core

Changeset 2806


Ignore:
Timestamp:
08/23/2005 07:51:14 AM (13 years ago)
Author:
matt
Message:

Optimization from Skippy, fixes #1393

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable-functions.php

    r2733 r2806  
    136136        // If the password is already_md5, it has been double hashed.
    137137        // Otherwise, it is plain text.
    138         if ( ($already_md5 && $login->user_login == $username && md5($login->user_pass) == $password) || ($login->user_login == $username && $login->user_pass == md5($password)) ) {
     138        if ( ($already_md5 && md5($login->user_pass) == $password) || ($login->user_login == $username && $login->user_pass == md5($password)) ) {
    139139            return true;
    140140        } else {
Note: See TracChangeset for help on using the changeset viewer.