Wordpress/tests
Timothy Jacobs fe2ceeada4 REST API: Only validate the format keyword if the type is a string.
This allows for using multi-type support with a string that has a format. For backwards compatibility support, the format validation will still apply if the type is not specified, or it is invalid.

Two new doing it wrong notices are issued when omitting a type, or using an invalid type.

Props ryotsun.
Fixes #50189.


git-svn-id: https://develop.svn.wordpress.org/trunk@48300 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-04 19:51:10 +00:00
..
e2e Editor: update JavaScript packages 2020-06-26 13:31:11 +00:00
phpunit REST API: Only validate the format keyword if the type is a string. 2020-07-04 19:51:10 +00:00
qunit REST API: Introduce endpoint for editing images. 2020-07-04 04:13:17 +00:00