WordPress.org

Make WordPress Core

Changeset 14012


Ignore:
Timestamp:
04/06/10 01:41:34 (4 years ago)
Author:
wpmuguru
Message:

set registered datestamp to current time during enable network, see #12747

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r13956 r14012  
    724724 
    725725    if ( !is_multisite() ) { 
    726         $wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'domain' => $domain, 'path' => $path ) ); 
     726        $wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'domain' => $domain, 'path' => $path, 'registered' => current_time( 'mysql' ) ) ); 
    727727        $blog_id = $wpdb->insert_id; 
    728728        update_user_meta( $site_user->ID, 'source_domain', $domain ); 
Note: See TracChangeset for help on using the changeset viewer.