From 062c2af4c6962ceb35c5a0c67c6d55cecd85301a Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Wed, 2 Aug 2023 18:19:21 +0200 Subject: [PATCH] use 'comment' instead of empty string --- includes/rest/class-inbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rest/class-inbox.php b/includes/rest/class-inbox.php index d45395c..966625c 100644 --- a/includes/rest/class-inbox.php +++ b/includes/rest/class-inbox.php @@ -401,7 +401,7 @@ class Inbox { 'comment_author' => \esc_attr( $meta['name'] ), 'comment_author_url' => \esc_url_raw( $object['actor'] ), 'comment_content' => \wp_filter_kses( $object['object']['content'] ), - 'comment_type' => '', + 'comment_type' => 'comment', 'comment_author_email' => '', 'comment_parent' => 0, 'comment_meta' => array(