use 'comment' instead of empty string

This commit is contained in:
Matthias Pfefferle 2023-08-02 18:19:21 +02:00
parent 2ba6f6b8a7
commit 062c2af4c6

View file

@ -401,7 +401,7 @@ class Inbox {
'comment_author' => \esc_attr( $meta['name'] ), 'comment_author' => \esc_attr( $meta['name'] ),
'comment_author_url' => \esc_url_raw( $object['actor'] ), 'comment_author_url' => \esc_url_raw( $object['actor'] ),
'comment_content' => \wp_filter_kses( $object['object']['content'] ), 'comment_content' => \wp_filter_kses( $object['object']['content'] ),
'comment_type' => '', 'comment_type' => 'comment',
'comment_author_email' => '', 'comment_author_email' => '',
'comment_parent' => 0, 'comment_parent' => 0,
'comment_meta' => array( 'comment_meta' => array(