mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
REST API: Switch to stable version of JSON Schema.
Props danielbachhuber. Fixes #38635. git-svn-id: https://develop.svn.wordpress.org/trunk@39106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1088,7 +1088,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
*/
|
||||
public function get_item_schema() {
|
||||
$schema = array(
|
||||
'$schema' => 'http://json-schema.org/draft-04/schema#',
|
||||
'$schema' => 'http://json-schema.org/schema#',
|
||||
'title' => 'comment',
|
||||
'type' => 'object',
|
||||
'properties' => array(
|
||||
|
||||
Reference in New Issue
Block a user