Merge pull request #13986 from woocommerce/fix/13954
Fixed "singular" and "plural" parameters of WP_List_Table instances
This commit is contained in:
commit
550f7b4028
|
@ -23,8 +23,8 @@ class WC_Admin_API_Keys_Table_List extends WP_List_Table {
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct( array(
|
parent::__construct( array(
|
||||||
'singular' => __( 'key', 'woocommerce' ),
|
'singular' => 'key',
|
||||||
'plural' => __( 'keys', 'woocommerce' ),
|
'plural' => 'keys',
|
||||||
'ajax' => false,
|
'ajax' => false,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,8 +23,8 @@ class WC_Admin_Log_Table_List extends WP_List_Table {
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct( array(
|
parent::__construct( array(
|
||||||
'singular' => __( 'log', 'woocommerce' ),
|
'singular' => 'log',
|
||||||
'plural' => __( 'logs', 'woocommerce' ),
|
'plural' => 'logs',
|
||||||
'ajax' => false,
|
'ajax' => false,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,8 +23,8 @@ class WC_Admin_Webhooks_Table_List extends WP_List_Table {
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
parent::__construct( array(
|
parent::__construct( array(
|
||||||
'singular' => __( 'webhook', 'woocommerce' ),
|
'singular' => 'webhook',
|
||||||
'plural' => __( 'webhooks', 'woocommerce' ),
|
'plural' => 'webhooks',
|
||||||
'ajax' => false,
|
'ajax' => false,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,8 @@ class WC_Report_Customer_List extends WP_List_Table {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
|
||||||
parent::__construct( array(
|
parent::__construct( array(
|
||||||
'singular' => __( 'Customer', 'woocommerce' ),
|
'singular' => 'customer',
|
||||||
'plural' => __( 'Customers', 'woocommerce' ),
|
'plural' => 'customers',
|
||||||
'ajax' => false,
|
'ajax' => false,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,8 @@ class WC_Report_Stock extends WP_List_Table {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
|
||||||
parent::__construct( array(
|
parent::__construct( array(
|
||||||
'singular' => __( 'Stock', 'woocommerce' ),
|
'singular' => 'stock',
|
||||||
'plural' => __( 'Stock', 'woocommerce' ),
|
'plural' => 'stock',
|
||||||
'ajax' => false,
|
'ajax' => false,
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue