Make the stat titles more specific to remove ambiguity (https://github.com/woocommerce/woocommerce-admin/pull/6925)

This commit is contained in:
Sam Seay 2021-05-11 08:24:09 +12:00 committed by GitHub
parent 278a92f52d
commit 409618d73a
2 changed files with 4 additions and 4 deletions

View File

@ -156,8 +156,8 @@ class Controller extends \WC_REST_Reports_Controller {
public function get_item_schema() {
$data_values = array(
'items_sold' => array(
'title' => __( 'Items Sold', 'woocommerce-admin' ),
'description' => __( 'Number of items sold.', 'woocommerce-admin' ),
'title' => __( 'Products Sold', 'woocommerce-admin' ),
'description' => __( 'Number of product items sold.', 'woocommerce-admin' ),
'type' => 'integer',
'context' => array( 'view', 'edit' ),
'readonly' => true,

View File

@ -153,8 +153,8 @@ class Controller extends \WC_REST_Reports_Controller {
public function get_item_schema() {
$data_values = array(
'items_sold' => array(
'title' => __( 'Items Sold', 'woocommerce-admin' ),
'description' => __( 'Number of items sold.', 'woocommerce-admin' ),
'title' => __( 'Variations Sold', 'woocommerce-admin' ),
'description' => __( 'Number of variation items sold.', 'woocommerce-admin' ),
'type' => 'integer',
'context' => array( 'view', 'edit' ),
'readonly' => true,