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 8
8
namespace Activitypub \Integration ;
9
9
10
10
use Activitypub \Collection \Followers ;
11
+ use Activitypub \Collection \Following ;
11
12
use Activitypub \Comment ;
12
13
13
14
/**
@@ -32,14 +33,10 @@ public static function init() {
32
33
* @return array The Jetpack sync allow list with ActivityPub meta keys.
33
34
*/
34
35
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 ;
43
40
}
44
41
45
42
/**
You can’t perform that action at this time.
0 commit comments