From 8495fda263ad9876b2043022c117a9ef7b12bf07 Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Sun, 1 Oct 2023 12:04:07 -0600 Subject: [PATCH] ignore WP_Comment type for now --- includes/class-activity-dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-activity-dispatcher.php b/includes/class-activity-dispatcher.php index 14d9661..06b7bb1 100644 --- a/includes/class-activity-dispatcher.php +++ b/includes/class-activity-dispatcher.php @@ -129,10 +129,10 @@ class Activity_Dispatcher { /** * Send Activities to followers and mentioned users. * - * @param WP_Comment $wp_comment The ActivityPub Comment. + * @param $wp_comment The ActivityPub Comment. * @param string $type The Activity-Type. */ - public static function send_comment_activity( WP_Comment $wp_comment, $type ) { + public static function send_comment_activity( $wp_comment, $type ) { $object = Comment::transform( $wp_comment )->to_object();