[wp-trac] [WordPress Trac] #14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc

WordPress Trac noreply at wordpress.org
Mon Oct 31 01:26:13 UTC 2016


#14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc
---------------------------------------------+--------------------------
 Reporter:  mrutz                            |       Owner:  johnbillion
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7
Component:  XML-RPC                          |     Version:  3.0
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit has-unit-tests  |     Focuses:
---------------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39045"]:
 {{{
 #!CommitTicketReference repository="" revision="39045"
 XML-RPC: Correctly handle empty and duplicate comments.

 This prevents `wp_die()` being sent in response to an XML-RPC call that
 attempts to submit a duplicate comment, and correctly returns an error in
 response to an attempt to submit an empty comment.

 Props markoheijnen, websupporter.
 Fixes #14452, #38466.
 See #36901
 }}}

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


More information about the wp-trac mailing list