From f415fa5ea22ec241b8153eb046e3079ba950b480 Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Wed, 5 May 2021 18:54:57 +0000 Subject: [PATCH] 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 --- wp-includes/class-walker-comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php index 9df2d20b3b..0ac661e547 100644 --- a/wp-includes/class-walker-comment.php +++ b/wp-includes/class-walker-comment.php @@ -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 ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index c9c566d613..cdf60b5f99 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.