WordPress.org

Make WordPress Core

Changeset 6531


Ignore:
Timestamp:
12/31/2007 11:39:02 PM (10 years ago)
Author:
ryan
Message:

Remove unneeded get_userdata call. Props DD32. see #5367

File:
1 edited

Legend:

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

    r6529 r6531  
    373373if ( !function_exists('wp_set_auth_cookie') ) :
    374374function wp_set_auth_cookie($user_id, $remember = false) {
    375     $user = get_userdata($user_id);
    376 
    377375    if ( $remember ) {
    378376        $expiration = $expire = time() + 1209600;
Note: See TracChangeset for help on using the changeset viewer.