[wp-trac] [WordPress Trac] #14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc
WordPress Trac
noreply at wordpress.org
Sun Oct 23 13:15:47 UTC 2016
#14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc
---------------------------------------------+-----------------------------
Reporter: mrutz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: XML-RPC | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch commit has-unit-tests | Focuses:
---------------------------------------------+-----------------------------
Changes (by markoheijnen):
* keywords: needs-unit-tests has-patch => has-patch commit has-unit-tests
Comment:
Uploaded a new patch with one unit tests testing for duplicated comment.
That is the only error we can get as others aren't been checked for as
`wp_handle_comment_submission()` is not being used.
Maybe we do need to check in the XML-RPC for an empty comment?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14452#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list