wordpress-develop/tests/phpunit/tests/xmlrpc
John Blackbourn 5b4f2b3021 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


git-svn-id: https://develop.svn.wordpress.org/trunk@39045 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-31 01:26:10 +00:00
..
mt Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
mw XMLRPC: Unit tests left off [r37043] 2016-03-22 15:11:06 +00:00
wp XML-RPC: Correctly handle empty and duplicate comments. 2016-10-31 01:26:10 +00:00
basic.php XML-RPC: Add unit test to verify IXR changes in [37244]. 2016-07-05 21:58:41 +00:00
client.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:00:27 +00:00