mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 23:11:53 +01:00
Initialize to avoid 'Creating default object from empty value' warning in PHP 5.4.4.
git-svn-id: http://core.svn.wordpress.org/trunk@21647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e5848ee150
commit
9267d41910
@ -917,6 +917,7 @@ We hope you enjoy your new site. Thanks!
|
||||
}
|
||||
$wpdb->query( "INSERT INTO $wpdb->sitemeta ( site_id, meta_key, meta_value ) VALUES " . $insert );
|
||||
|
||||
$current_site = new stdClass;
|
||||
$current_site->domain = $domain;
|
||||
$current_site->path = $path;
|
||||
$current_site->site_name = ucfirst( $domain );
|
||||
|
Loading…
Reference in New Issue
Block a user