@@ -45,29 +45,6 @@ public static function init() {
45
45
\add_filter ( 'activitypub_additional_inboxes ' , array ( self ::class, 'add_inboxes_by_mentioned_actors ' ), 10 , 3 );
46
46
\add_filter ( 'activitypub_additional_inboxes ' , array ( self ::class, 'add_inboxes_of_replied_urls ' ), 10 , 3 );
47
47
\add_filter ( 'activitypub_additional_inboxes ' , array ( self ::class, 'add_inboxes_of_relays ' ), 10 , 3 );
48
-
49
- // Fallback for `activitypub_send_to_inboxes` filter.
50
- \add_filter (
51
- 'activitypub_additional_inboxes ' ,
52
- function ( $ inboxes , $ actor_id , $ activity ) {
53
- /**
54
- * Filters the list of interactees inboxes to send the Activity to.
55
- *
56
- * @param array $inboxes The list of inboxes to send to.
57
- * @param int $actor_id The actor ID.
58
- * @param Activity $activity The ActivityPub Activity.
59
- *
60
- * @deprecated 5.2.0 Use `activitypub_additional_inboxes` instead.
61
- * @deprecated 5.4.0 Use `activitypub_additional_inboxes` instead.
62
- */
63
- $ inboxes = \apply_filters_deprecated ( 'activitypub_send_to_inboxes ' , array ( $ inboxes , $ actor_id , $ activity ), '5.2.0 ' , 'activitypub_additional_inboxes ' );
64
- $ inboxes = \apply_filters_deprecated ( 'activitypub_interactees_inboxes ' , array ( $ inboxes , $ actor_id , $ activity ), '5.4.0 ' , 'activitypub_additional_inboxes ' );
65
-
66
- return $ inboxes ;
67
- },
68
- 10 ,
69
- 3
70
- );
71
48
}
72
49
73
50
/**
@@ -364,23 +341,6 @@ public static function add_inboxes_of_replied_urls( $inboxes, $actor_id, $activi
364
341
return $ inboxes ;
365
342
}
366
343
367
- /**
368
- * Adds Blog Actor inboxes to Updates so the Blog User's followers are notified of edits.
369
- *
370
- * @deprecated 5.2.0 Use {@see Followers::maybe_add_inboxes_of_blog_user} instead.
371
- *
372
- * @param array $inboxes The list of Inboxes.
373
- * @param int $actor_id The WordPress Actor-ID.
374
- * @param Activity $activity The ActivityPub Activity.
375
- *
376
- * @return array The filtered Inboxes.
377
- */
378
- public static function maybe_add_inboxes_of_blog_user ( $ inboxes , $ actor_id , $ activity ) { // phpcs:ignore
379
- _deprecated_function ( __METHOD__ , '5.2.0 ' , 'Followers::maybe_add_inboxes_of_blog_user ' );
380
-
381
- return $ inboxes ;
382
- }
383
-
384
344
/**
385
345
* Check if passed Activity is public.
386
346
*
0 commit comments