mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -721,8 +721,8 @@ Thanks!
|
||||
if ( !is_multisite() ) {
|
||||
$wpdb->insert( $wpdb->blogs, array( 'site_id' => $network_id, 'domain' => $domain, 'path' => $path ) );
|
||||
$blog_id = $wpdb->insert_id;
|
||||
update_usermeta( $site_user->ID, 'source_domain', $domain );
|
||||
update_usermeta( $site_user->ID, 'primary_blog', $blog_id );
|
||||
update_user_meta( $site_user->ID, 'source_domain', $domain );
|
||||
update_user_meta( $site_user->ID, 'primary_blog', $blog_id );
|
||||
}
|
||||
|
||||
if ( $vhost == 'yes' )
|
||||
|
||||
Reference in New Issue
Block a user