From 0ab95add02c7aca24c7dec82931e361a5dd6a4ad Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Fri, 10 Mar 2023 15:26:25 -0700 Subject: [PATCH] Add webfinger filter to comments --- includes/class-comments.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-comments.php b/includes/class-comments.php index 5d49d7e..29a0ce2 100644 --- a/includes/class-comments.php +++ b/includes/class-comments.php @@ -66,6 +66,7 @@ class Comments { * @return void */ public static function comment_content_filter( $comment_text, $comment, $args ) { + $comment_text = \apply_filters( 'the_content', $comment_text, $comment ); $protocol = \get_comment_meta( $comment->comment_ID, 'protocol', true ); // TODO Test if this is returned by Model/Comment if ( 'activitypub' === $protocol ) {