File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1+ Significance: minor
2+ Type: added
3+
4+ Sync following meta to enable RSS feed subscriptions for ActivityPub actors in WordPress.com Reader
Original file line number Diff line number Diff line change 88namespace Activitypub \Integration ;
99
1010use Activitypub \Collection \Followers ;
11+ use Activitypub \Collection \Following ;
1112use Activitypub \Comment ;
1213
1314/**
@@ -32,14 +33,10 @@ public static function init() {
3233 * @return array The Jetpack sync allow list with ActivityPub meta keys.
3334 */
3435 public static function add_sync_meta ( $ allow_list ) {
35- if ( ! is_array ( $ allow_list ) ) {
36- return $ allow_list ;
37- }
38- $ activitypub_meta_keys = array (
39- Followers::FOLLOWER_META_KEY ,
40- '_activitypub_inbox ' ,
41- );
42- return \array_merge ( $ allow_list , $ activitypub_meta_keys );
36+ $ allow_list [] = Followers::FOLLOWER_META_KEY ;
37+ $ allow_list [] = Following::FOLLOWING_META_KEY ;
38+
39+ return $ allow_list ;
4340 }
4441
4542 /**
You can’t perform that action at this time.
0 commit comments