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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-04-06 01:41:34 +00:00
parent 3e970343af
commit aebc2cb826
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ Thanks!
$current_site->site_name = ucfirst( $domain );
if ( !is_multisite() ) {
$wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'domain' => $domain, 'path' => $path ) );
$wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'domain' => $domain, 'path' => $path, 'registered' => current_time( 'mysql' ) ) );
$blog_id = $wpdb->insert_id;
update_user_meta( $site_user->ID, 'source_domain', $domain );
update_user_meta( $site_user->ID, 'primary_blog', $blog_id );