finally fixed #19
This commit is contained in:
parent
a0471a9eef
commit
7f17d71fcf
1 changed files with 1 additions and 2 deletions
|
@ -24,13 +24,12 @@ if ( has_header_image() ) {
|
||||||
'type' => 'Image',
|
'type' => 'Image',
|
||||||
'url' => get_header_image(),
|
'url' => get_header_image(),
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
$json->image = array();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$json->inbox = get_rest_url( null, "/activitypub/1.0/users/$author_id/inbox" );
|
$json->inbox = get_rest_url( null, "/activitypub/1.0/users/$author_id/inbox" );
|
||||||
$json->outbox = get_rest_url( null, "/activitypub/1.0/users/$author_id/outbox" );
|
$json->outbox = get_rest_url( null, "/activitypub/1.0/users/$author_id/outbox" );
|
||||||
$json->followers = get_rest_url( null, "/activitypub/1.0/users/$author_id/followers" );
|
$json->followers = get_rest_url( null, "/activitypub/1.0/users/$author_id/followers" );
|
||||||
|
$json->following = get_rest_url( null, "/activitypub/1.0/users/$author_id/following" );
|
||||||
|
|
||||||
$json->manuallyApprovesFollowers = apply_filters( 'activitypub_json_manually_approves_followers', __return_false() ); // phpcs:ignore
|
$json->manuallyApprovesFollowers = apply_filters( 'activitypub_json_manually_approves_followers', __return_false() ); // phpcs:ignore
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue