Fixed attribute terms schema title

This commit is contained in:
Claudio Sanches 2016-03-07 17:04:32 -03:00
parent 426410c2ae
commit ff6970031b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
public function get_item_schema() { public function get_item_schema() {
$schema = array( $schema = array(
'$schema' => 'http://json-schema.org/draft-04/schema#', '$schema' => 'http://json-schema.org/draft-04/schema#',
'title' => $this->taxonomy, 'title' => 'product_attribute_term',
'type' => 'object', 'type' => 'object',
'properties' => array( 'properties' => array(
'id' => array( 'id' => array(