[REST API] Fixed date_on_sale_to_gmt description on products endpoint
This commit is contained in:
parent
c17fbf53b4
commit
e7508c2c54
|
@ -1515,7 +1515,7 @@ class WC_REST_Products_Controller extends WC_REST_Legacy_Products_Controller {
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
),
|
),
|
||||||
'date_on_sale_to_gmt' => array(
|
'date_on_sale_to_gmt' => array(
|
||||||
'description' => __( "End date of sale price, in the site's timezone.", 'woocommerce' ),
|
'description' => __( 'End date of sale price, as GMT.', 'woocommerce' ),
|
||||||
'type' => 'date-time',
|
'type' => 'date-time',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue