[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 15:03:29 UTC 2021


#53113: class-walker-comment.php has call to remove_filter with incorrect number of
arguments
--------------------------+-----------------------------
 Reporter:  diddledan     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 Line 203:

 `remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40,
 2 );`

 Should be:

 `remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40
 );`

 (github PR will be attached)

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


More information about the wp-trac mailing list