Merge pull request #18659 from woocommerce/fix/rest-api-typos

[REST API] Fixed typos in products schema
This commit is contained in:
Claudiu Lodromanean 2018-01-30 17:37:31 -08:00 committed by GitHub
commit de4cd97b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 245 additions and 215 deletions

View File

@ -674,7 +674,7 @@ class WC_REST_Product_Variations_Controller extends WC_REST_Products_Controller
'context' => array( 'view', 'edit' ),
),
'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',
'context' => array( 'view', 'edit' ),
),

File diff suppressed because it is too large Load Diff