[wp-trac] [WordPress Trac] #36901: Removing wp_die() from wp_allow_comment()
WordPress Trac
noreply at wordpress.org
Mon Oct 31 01:26:14 UTC 2016
#36901: Removing wp_die() from wp_allow_comment()
-------------------------------------------------+-------------------------
Reporter: websupporter | Owner:
Type: enhancement | boonebgorges
Priority: normal | Status: closed
Component: Comments | Milestone: 4.7
Severity: normal | Version: 4.6
Keywords: has-patch needs-testing has-unit- | Resolution: fixed
tests needs-dev-note | Focuses:
-------------------------------------------------+-------------------------
Comment (by johnbillion):
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/36901#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list