This commit is contained in:
Django Doucet 2023-03-10 16:27:35 -07:00
parent 1927587e95
commit e4c991393d
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

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