WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/25/2010 10:01:43 PM (11 years ago)
Author:
ryan
Message:

phpdoc and cleanup. see #11644

File:
1 edited

Legend:

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

    r12807 r12826  
    16091609    $user_id = 0;
    16101610    if ( is_email( $string ) ) {
    1611         $user = get_user_by_email($string);
     1611        $user = get_user_by('email', $string);
    16121612        if ( $user )
    16131613            $user_id = $user->ID;
     
    16151615        $user_id = $string;
    16161616    } else {
    1617         $user = get_userdatabylogin($string);
     1617        $user = get_user_by('login', $string);
    16181618        if ( $user )
    16191619            $user_id = $user->ID;
Note: See TracChangeset for help on using the changeset viewer.