[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
Wed May 5 18:54:09 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:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Comments          |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by davidbaumwald):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50816" 50816]:
 {{{
 #!CommitTicketReference repository="" revision="50816"
 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.
 }}}

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


More information about the wp-trac mailing list