mirror of
git://develop.git.wordpress.org/
synced 2025-03-11 23:49:54 +01:00
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:
parent
bf17cc67ce
commit
7ca9b459e5
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user