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

WordPress Trac noreply at wordpress.org
Thu Jun 5 04:37:04 UTC 2014


#28254: Comment posting doesn't handle the INSERT failing
------------------------------+-----------------------------
 Reporter:  pento             |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Comments          |     Version:  1.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"28672"]:
 {{{
 #!CommitTicketReference repository="" revision="28672"
 wp_insert_comment() and wp_new_comment() should check if the comment was
 successfully inserted into the database.

 props pento.
 fixes #28254.
 }}}

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


More information about the wp-trac mailing list