Merge pull request #19872 from woocommerce/update/email-restrictions-text
Updates email restrictions label so it's clear this is a whitelist
This commit is contained in:
commit
0bf2dfbca8
|
@ -263,9 +263,9 @@ class WC_Meta_Box_Coupon_Data {
|
||||||
woocommerce_wp_text_input(
|
woocommerce_wp_text_input(
|
||||||
array(
|
array(
|
||||||
'id' => 'customer_email',
|
'id' => 'customer_email',
|
||||||
'label' => __( 'Email restrictions', 'woocommerce' ),
|
'label' => __( 'Allowed emails', 'woocommerce' ),
|
||||||
'placeholder' => __( 'No restrictions', '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' ) ),
|
'value' => implode( ', ', (array) $coupon->get_email_restrictions( 'edit' ) ),
|
||||||
'desc_tip' => true,
|
'desc_tip' => true,
|
||||||
'type' => 'email',
|
'type' => 'email',
|
||||||
|
|
Loading…
Reference in New Issue