Add webfinger filter to comments
This commit is contained in:
parent
6f55010df2
commit
0ab95add02
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class Comments {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function comment_content_filter( $comment_text, $comment, $args ) {
|
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 );
|
$protocol = \get_comment_meta( $comment->comment_ID, 'protocol', true );
|
||||||
// TODO Test if this is returned by Model/Comment
|
// TODO Test if this is returned by Model/Comment
|
||||||
if ( 'activitypub' === $protocol ) {
|
if ( 'activitypub' === $protocol ) {
|
||||||
|
|
Loading…
Reference in a new issue