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 Built from https://develop.svn.wordpress.org/trunk@39045 git-svn-id: http://core.svn.wordpress.org/trunk@38987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
195 KiB
195 KiB