[wp-trac] [WordPress Trac] #36302: wp_update_comment needs a filter

WordPress Trac noreply at wordpress.org
Thu Sep 29 13:46:09 UTC 2016


#36302: wp_update_comment needs a filter
----------------------------------------------+--------------------------
 Reporter:  frankiet                          |       Owner:  rachelbaker
     Type:  enhancement                       |      Status:  closed
 Priority:  normal                            |   Milestone:  4.7
Component:  Comments                          |     Version:  4.4.2
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch dev-feedback 4.7-early  |     Focuses:
----------------------------------------------+--------------------------
Changes (by rachelbaker):

 * owner:   => rachelbaker
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38674"]:
 {{{
 #!CommitTicketReference repository="" revision="38674"
 Comments: Introduce the `wp_update_comment_data` filter.

 Filters the comment data immediately before it is updated in the database.

 Props frankiet, dshanske, DrewAPicture.
 Fixes #36302.
 }}}

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


More information about the wp-trac mailing list