WordPress.org

Make WordPress Core

Ticket #48097: 48097.patch

File 48097.patch, 751 bytes (added by mehrshaddarzi, 21 months ago)
  • wp-includes/user.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    17241724
    17251725        $meta['use_ssl'] = empty( $userdata['use_ssl'] ) ? 0 : $userdata['use_ssl'];
    17261726
    1727         $user_registered = empty( $userdata['user_registered'] ) ? gmdate( 'Y-m-d H:i:s' ) : $userdata['user_registered'];
     1727        $user_registered = empty( $userdata['user_registered'] ) ? current_time( 'mysql' ) : $userdata['user_registered'];
    17281728
    17291729        $meta['show_admin_bar_front'] = empty( $userdata['show_admin_bar_front'] ) ? 'true' : $userdata['show_admin_bar_front'];
    17301730