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:
Claudiu Lodromanean 2018-04-26 11:49:54 -07:00 committed by GitHub
commit 0bf2dfbca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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( 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',