[REST API] Fixed date_on_sale_to_gmt description on products endpoint

This commit is contained in:
Claudio Sanches 2017-10-25 14:06:50 -02:00
parent c17fbf53b4
commit e7508c2c54
1 changed files with 1 additions and 1 deletions

View File

@ -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' ),
), ),