ignore WP_Comment type for now

This commit is contained in:
Django Doucet 2023-10-01 12:04:07 -06:00
parent 133c16dc3e
commit 8495fda263

View file

@ -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();