fixed namespace problems
This commit is contained in:
parent
40b2651b7e
commit
5db2e38719
3 changed files with 4 additions and 4 deletions
|
@ -100,6 +100,6 @@ class Admin {
|
|||
?>
|
||||
<h2><?php esc_html_e( 'Fediverse', 'activitypub' ); ?></h2>
|
||||
<?php
|
||||
activitypub_get_identifier_settings( $user->ID );
|
||||
\Activitypub\get_identifier_settings( $user->ID );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue