Fixed attribute terms schema title
This commit is contained in:
parent
426410c2ae
commit
ff6970031b
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue