change 2 other Amount strings to Number

This commit is contained in:
Ron Rennick 2019-06-13 11:27:44 -03:00
parent 6b02ee217c
commit 234d53975e
1 changed files with 2 additions and 2 deletions

View File

@ -147,13 +147,13 @@ class WC_Admin_REST_Reports_Coupons_Stats_Controller extends WC_REST_Reports_Con
'format' => 'currency',
),
'coupons_count' => array(
'description' => __( 'Amount of coupons.', 'woocommerce-admin' ),
'description' => __( 'Number of coupons.', 'woocommerce-admin' ),
'type' => 'integer',
'context' => array( 'view', 'edit' ),
'readonly' => true,
),
'orders_count' => array(
'description' => __( 'Amount of discounted orders.', 'woocommerce-admin' ),
'description' => __( 'Number of discounted orders.', 'woocommerce-admin' ),
'type' => 'integer',
'context' => array( 'view', 'edit' ),
'readonly' => true,