[wp-trac] [WordPress Trac] #38466: Check if comment content is passed in XML-RPC

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


#38466: Check if comment content is passed in XML-RPC
--------------------------------------+--------------------------
 Reporter:  markoheijnen              |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  XML-RPC                   |     Version:  2.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch 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/38466#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list