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

WordPress Trac noreply at wordpress.org
Thu Jun 30 22:25:17 UTC 2016


#36302: wp_update_comment needs a filter
-------------------------------------------+------------------------------
 Reporter:  frankiet                       |       Owner:
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Comments                       |     Version:  4.4.2
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by pfefferle):

 @rachelbaker a filter on the unvalidated/unverified (before
 wp_filter_comment) comment-array would enable changes based on temporary
 fields, like @dshanske proposed for the pingback receiver (#34141):
 `remote_source_original` and `remote_source`.

 I'am working on a Webmention plugin and (in contrast to the pingback core
 functionality) it also supports updates, so it would be nice to have kind
 of the same possibilities like with `preprocess_comment` for updates.

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


More information about the wp-trac mailing list