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.
Built from https://develop.svn.wordpress.org/trunk@50816


git-svn-id: http://core.svn.wordpress.org/trunk@50425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
davidbaumwald 2021-05-05 18:54:57 +00:00
parent 16c42e467d
commit f415fa5ea2
2 changed files with 2 additions and 2 deletions

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 );
}
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-50815';
$wp_version = '5.8-alpha-50816';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.