[wp-trac] [WordPress Trac] #28254: Comment posting doesn't handle the INSERT failing

WordPress Trac noreply at wordpress.org
Thu May 15 09:37:51 UTC 2014


#28254: Comment posting doesn't handle the INSERT failing
--------------------------+-----------------
 Reporter:  pento         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.0
Component:  Comments      |    Version:  1.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 When adding a comment, it's possible for the `$wpdb->insert()` call in
 `wp_insert_comment()` to fail. This isn't checked, and the rest of the
 process assumes the comment was successfully inserted.

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


More information about the wp-trac mailing list