Skip to content

Commit

Permalink
[REST API] Fixed duplicated entry in orders notes schema
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Oct 16, 2018
1 parent 8e47d2a commit 0f1f91f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions includes/api/class-wc-rest-order-notes-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ public function get_item_schema() {
'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',
Expand Down

0 comments on commit 0f1f91f

Please sign in to comment.