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:
parent
3e970343af
commit
aebc2cb826
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue