[wp-trac] [WordPress Trac] #38314: comment_text filter is passed inconsistent arguments

WordPress Trac noreply at wordpress.org
Sun May 14 03:05:14 UTC 2017


#38314: comment_text filter is passed inconsistent arguments
-------------------------------------+--------------------------
 Reporter:  danielbachhuber          |       Owner:  johnbillion
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.8
Component:  Comments                 |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:  docs
-------------------------------------+--------------------------
Changes (by rachelbaker):

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


Comment:

 In [changeset:"40664"]:
 {{{
 #!CommitTicketReference repository="" revision="40664"
 Comments: Update arguments passed to the 'comment_text' filter in
 `check_comment()`.

 Pass null or empty values for the missing $comment and $args parameters of
 the 'check_comment' filter in `check_comment()`.

 Props boonebgorges, vaishu.agola27, SergeyBiryukov.
 Fixes #38314.
 }}}

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


More information about the wp-trac mailing list