[wp-trac] [WordPress Trac] #53113: class-walker-comment.php has call to remove_filter with incorrect number of arguments
WordPress Trac
noreply at wordpress.org
Thu Apr 29 16:47:13 UTC 2021
#53113: class-walker-comment.php has call to remove_filter with incorrect number of
arguments
------------------------------+----------------------------
Reporter: diddledan | Owner: davidbaumwald
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.8
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+----------------------------
Comment (by mukesh27):
Hi there!
Can you please update PR and do the below change also?
https://github.com/WordPress/WordPress/blob/master/wp-includes/class-
walker-comment.php#L185
`add_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2
);`
Replace to
`add_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40 );`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53113#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list