Merge pull request #14551 from hussong/patch-1

Change field label and placeholder to minimize user error
This commit is contained in:
Mike Jolley 2017-04-27 11:25:49 +01:00 committed by GitHub
commit 2660f994e6
1 changed files with 3 additions and 2 deletions

View File

@ -577,8 +577,9 @@ class WC_Countries {
'priority' => 40,
),
'address_1' => array(
'label' => __( 'Address', 'woocommerce' ),
'placeholder' => esc_attr__( 'Street address', 'woocommerce' ),
'label' => __( 'Street address', 'woocommerce' ),
/* translators: use local order of street name and house number. */
'placeholder' => esc_attr__( 'House number and street name', 'woocommerce' ),
'required' => true,
'class' => array( 'form-row-wide', 'address-field' ),
'autocomplete' => 'address-line1',