Make WordPress Core


Ignore:
Timestamp:
11/03/2016 02:21:48 AM (8 years ago)
Author:
joehoyle
Message:

REST API: Switch to stable version of JSON Schema.

Props danielbachhuber.
Fixes #38635.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php

    r39105 r39106  
    798798    public function get_item_schema() {
    799799        $schema = array(
    800             '$schema'    => 'http://json-schema.org/draft-04/schema#',
     800            '$schema'    => 'http://json-schema.org/schema#',
    801801            'title'      => 'post_tag' === $this->taxonomy ? 'tag' : $this->taxonomy,
    802802            'type'       => 'object',
Note: See TracChangeset for help on using the changeset viewer.