fix domain change issue on .com (#374)

This should fix the issue on .com that saves the subdomain.wordpress.com domain to the options table before custom domain is set.
This commit is contained in:
Matthias Pfefferle 2023-07-27 17:40:29 +02:00 committed by GitHub
parent d456e86d1a
commit c0867de4c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,11 +87,6 @@ class Migration {
}
}
}
// set the default username for the Blog User
if ( ! \get_option( 'activitypub_blog_user_identifier' ) ) {
\update_option( 'activitypub_blog_user_identifier', Blog_User::get_default_username() );
}
}
/**