Comments: Remove fourth parameter on remove_filter call.

In `class-walker-comment.php`, a `remove_filter` call on `comment_text` passed a fourth parameter which was not needed.  This change removes the extra argument.

Props diddledan, SergeyBiryukov.
Fixes #53113.

git-svn-id: https://develop.svn.wordpress.org/trunk@50816 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David Baumwald 2021-05-05 18:53:54 +00:00
parent bf17cc67ce
commit 7ca9b459e5

View File

@ -200,7 +200,7 @@ class Walker_Comment extends Walker {
}
if ( 'comment' === $comment->comment_type ) {
remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40 );
}
}