mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 12:30:17 +00:00
Previously, the majority of JSON Schema validation errors returned a generic `rest_invalid_param` error code. In preparation for #46191, where the underlying validation error code will be exposed, this commit adds specific error codes for each failure scenario. Fixes #52317. git-svn-id: https://develop.svn.wordpress.org/trunk@50007 602fd350-edb4-49c9-b593-d223f7449a82