Merge pull request #21593 from woocommerce/fix/rest-api-order-notes-schema-v3

[REST API] Fixed duplicated entry in orders notes schema
This commit is contained in:
Claudiu Lodromanean 2018-10-17 08:10:12 -07:00 committed by GitHub
commit 24101d424a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -136,12 +136,6 @@ class WC_REST_Order_Notes_Controller extends WC_REST_Order_Notes_V2_Controller {
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'date_created' => array(
'description' => __( "The date the order note was created, in the site's timezone.", 'woocommerce' ),
'type' => 'date-time',
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'date_created_gmt' => array(
'description' => __( 'The date the order note was created, as GMT.', 'woocommerce' ),
'type' => 'date-time',