diff --git a/includes/class-admin.php b/includes/class-admin.php index 9cacdd7..8c39061 100644 --- a/includes/class-admin.php +++ b/includes/class-admin.php @@ -100,6 +100,6 @@ class Admin { ?>

ID ); + \Activitypub\get_identifier_settings( $user->ID ); } } diff --git a/includes/functions.php b/includes/functions.php index a6aef96..c6e362d 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -134,7 +134,7 @@ function get_remote_metadata_by_actor( $actor ) { * @return [type] [description] */ function get_inbox_by_actor( $actor ) { - $metadata = get_remote_metadata_by_actor( $actor ); + $metadata = \Activitypub\get_remote_metadata_by_actor( $actor ); if ( is_wp_error( $metadata ) ) { return $metadata; @@ -157,7 +157,7 @@ function get_inbox_by_actor( $actor ) { * @return [type] [description] */ function get_publickey_by_actor( $actor, $key_id ) { - $metadata = get_remote_metadata_by_actor( $actor ); + $metadata = \Activitypub\get_remote_metadata_by_actor( $actor ); if ( is_wp_error( $metadata ) ) { return $metadata; diff --git a/includes/rest/class-followers.php b/includes/rest/class-followers.php index 4f673e9..b7fdb97 100644 --- a/includes/rest/class-followers.php +++ b/includes/rest/class-followers.php @@ -43,7 +43,7 @@ class Followers { $json = new \stdClass(); - $json->{'@context'} = get_activitypub_context(); + $json->{'@context'} = \Activitypub\get_context(); $followers = \Activitypub\Db\Followers::get_followers( $user_id );