We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8354a4c commit 9de5552Copy full SHA for 9de5552
1 file changed
mu-plugins/activitypub-migration.php
@@ -25,6 +25,7 @@ function activitypub_actor_migration( array $actor ) {
25
26
$host = wp_parse_url( get_home_url(), PHP_URL_HOST );
27
$id = str_replace( $host, 'blog.' . $host, $actor['id'] );
28
+ $id = str_replace( '/blog/', '/', $id );
29
30
$actor['alsoKnownAs'] = array( $id );
31
return $actor;
0 commit comments