WordPress.org

Make WordPress Core

Ticket #5300: 5300.diff

File 5300.diff, 583 bytes (added by mdawaffe, 6 years ago)
  • wp-includes/registration.php

     
    9797        if ( empty($user_registered) ) 
    9898                $user_registered = gmdate('Y-m-d H:i:s'); 
    9999 
    100         $data = compact( 'user_pass', 'user_email', 'user_url', 'user_nicename', 'display_name' ); 
     100        $data = compact( 'user_pass', 'user_email', 'user_url', 'user_nicename', 'display_name', 'user_registered' ); 
    101101 
    102102        if ( $update ) { 
    103103                $wpdb->update( $wpdb->users, $data, compact( 'ID' ) );