diff --git a/includes/functions.php b/includes/functions.php index fc1e852..85ccdd3 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -534,7 +534,7 @@ function is_ap_replies() { * @param boolean $post defaults to searching a comment_id * @return string space separated webfinger of tagged users */ -function reply_recipients( $object_id, $post = null ) { //TODO rename to avoid confusion with \Activitypub\Inbox::extract_recipients +function reply_recipients( $object_id, $post = null ) { $recipients = null; if ( $post ) { //post diff --git a/includes/model/class-comment.php b/includes/model/class-comment.php index 347ce54..b75a591 100644 --- a/includes/model/class-comment.php +++ b/includes/model/class-comment.php @@ -193,7 +193,7 @@ class Comment { return $this->content; } - $comment_content = $comment->comment_content; + $comment_content = $comment->comment_content; $filtered_content = \apply_filters( 'the_content', $comment_content, $comment ); $decoded_content = \html_entity_decode( $filtered_content, \ENT_QUOTES, 'UTF-8' );