WordPress.org

Make WordPress Core

Ticket #5367: 5367.diff

File 5367.diff, 441 bytes (added by DD32, 8 years ago)
  • wp-includes/pluggable.php

     
    372372 
    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; 
    379377        } else {