WordPress.org

Make WordPress Core

Ticket #40035: 40035.diff

File 40035.diff, 648 bytes (added by desrosj, 2 years ago)
  • src/wp-includes/ms-functions.php

     
    13681368        $path = trailingslashit($path);
    13691369        $site_id = (int) $site_id;
    13701370
    1371         $result = $wpdb->insert( $wpdb->blogs, array('site_id' => $site_id, 'domain' => $domain, 'path' => $path, 'registered' => current_time('mysql')) );
     1371        $result = $wpdb->insert( $wpdb->blogs, array('site_id' => $site_id, 'domain' => $domain, 'path' => $path, 'registered' => current_time( 'mysql', true ) ) );
    13721372        if ( ! $result )
    13731373                return false;
    13741374