Updates email restrictions label so it's clear this is a whitelist

This commit is contained in:
Mike Jolley 2018-04-26 12:58:08 +01:00
parent 2be94d24e9
commit ef69c27f25
1 changed files with 2 additions and 2 deletions

View File

@ -263,9 +263,9 @@ class WC_Meta_Box_Coupon_Data {
woocommerce_wp_text_input(
array(
'id' => 'customer_email',
'label' => __( 'Email restrictions', 'woocommerce' ),
'label' => __( 'Allowed emails', 'woocommerce' ),
'placeholder' => __( 'No restrictions', 'woocommerce' ),
'description' => __( 'List of allowed emails to check against the customer billing email when an order is placed. Separate email addresses with commas. You can also use an asterisk (*) to match parts of an email. For example "*@gmail.com" would match all gmail addresses.', 'woocommerce' ),
'description' => __( 'Whitelist of billing emails to check against when an order is placed. Separate email addresses with commas. You can also use an asterisk (*) to match parts of an email. For example "*@gmail.com" would match all gmail addresses.', 'woocommerce' ),
'value' => implode( ', ', (array) $coupon->get_email_restrictions( 'edit' ) ),
'desc_tip' => true,
'type' => 'email',