[wp-trac] [WordPress Trac] #39380: wp_update_comment can cause database error with new filter

WordPress Trac noreply at wordpress.org
Tue Dec 27 16:34:26 UTC 2016


#39380: wp_update_comment can cause database error with new filter
-------------------------+------------------
 Reporter:  dshanske     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  Comments     |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by dshanske):

 @rachelbaker the fact that the filter could add keys to the array and
 cause a database error when the update is run is still an issue. I tagged
 it for 4.7.1 for that reason. The slice still should come after the filter
 for that reason.

 Should I split the ticket because I consider that a bug in the filter? I
 just figured I would address both.

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


More information about the wp-trac mailing list