Go to file
Ryan McCue a6aa1a0754 REST API: Optimise for singular error instances.
Previously, the API returned a list of errors, as WP_Error can hold multiple
error codes internally. This isn't a particularly common use case, and it
makes handling errors on the client side more complex than it needs to be.

Fixes #34551.


git-svn-id: https://develop.svn.wordpress.org/trunk@35653 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-17 04:11:21 +00:00
src REST API: Optimise for singular error instances. 2015-11-17 04:11:21 +00:00
tests REST API: Require namespace when registering routes. 2015-11-17 02:38:31 +00:00
tools/i18n
.editorconfig
.gitignore Remove an IDE-specific rule in .gitignore. These should be managed in the user's ~/.gitignore_global file. 2015-10-18 00:15:23 +00:00
.jshintrc Build: Prevent non-breaking spaces from accidentally being inserted into JavaScript files. 2015-11-12 12:04:55 +00:00
.travis.yml Remove PHP 7 from allowed failures list 2015-11-12 21:44:24 +00:00
Gruntfile.js Build Tools: Update the preserveComments option for uglify:jqueryui. 2015-11-07 12:36:24 +00:00
package.json Build Tools: Update autoprefixer to 0.6.1. 2015-11-07 11:56:26 +00:00
phpunit.xml.dist Unit Tests: add SpeedTrapListener to phpunit/includes and add the config node to phpunit.xml.dist. 2015-10-16 00:27:28 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php