[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 18:46:16 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 davidbaumwald):

 As @diddledan mentions, I think the `add_filter` is correct, as it's
 passing 2 params to `filter_comment_text`.  This ticket deals with
 removing a filter, which doesn't care about the param count.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53113#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list