From 19b7e278ace5f96afafc4a8176e47cb32c52dc8d Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 9 Jan 2020 17:25:10 -0300 Subject: [PATCH] Fixed schema --- .../Version2/class-wc-rest-system-status-v2-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php b/src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php index 7f4dcb93355..7296cbcda38 100644 --- a/src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php +++ b/src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php @@ -110,7 +110,7 @@ class WC_REST_System_Status_V2_Controller extends WC_REST_Controller { 'context' => array( 'view' ), 'readonly' => true, ), - 'wc_version' => array( + 'version' => array( 'description' => __( 'WooCommerce version.', 'woocommerce-rest-api' ), 'type' => 'string', 'context' => array( 'view' ),