From 7f17d71fcf1d196e77275894edb6c0718ca79e7b Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Tue, 12 Mar 2019 22:20:46 +0100 Subject: [PATCH] finally fixed #19 --- templates/json-author.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/json-author.php b/templates/json-author.php index 11c93bf..9f2c3b0 100644 --- a/templates/json-author.php +++ b/templates/json-author.php @@ -24,13 +24,12 @@ if ( has_header_image() ) { 'type' => 'Image', 'url' => get_header_image(), ); -} else { - $json->image = array(); } $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->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