mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-26 08:55:13 +00:00
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. Built from https://develop.svn.wordpress.org/trunk@35653 git-svn-id: http://core.svn.wordpress.org/trunk@35617 1a063a9b-81f0-0310-95a4-ce76da25c4cd