diff --git a/assets/css/wc-setup.scss b/assets/css/wc-setup.scss index 46aec319cb4..f0969c51e99 100644 --- a/assets/css/wc-setup.scss +++ b/assets/css/wc-setup.scss @@ -1036,10 +1036,10 @@ p.jetpack-terms { } } -.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_api_subject { +.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_email { margin-top: 0.75em; - label.stripe_email, label.ppec_paypal_api_subject { + label.stripe_email, label.ppec_paypal_email { position: absolute; margin: -1px; padding: 0; diff --git a/assets/js/admin/wc-setup.js b/assets/js/admin/wc-setup.js index 9adfd3a1096..ba118e3cf3d 100644 --- a/assets/js/admin/wc-setup.js +++ b/assets/js/admin/wc-setup.js @@ -130,14 +130,14 @@ jQuery( function( $ ) { .find( 'input.payment-email-input' ) .prop( 'required', true ); $( this ).closest( '.wc-wizard-service-settings' ) - .find( '.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_api_subject' ) + .find( '.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_email' ) .show(); } else { $( this ).closest( '.wc-wizard-service-settings' ) .find( 'input.payment-email-input' ) .prop( 'required', false ); $( this ).closest( '.wc-wizard-service-settings' ) - .find( '.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_api_subject' ) + .find( '.wc-wizard-service-setting-stripe_email, .wc-wizard-service-setting-ppec_paypal_email' ) .hide(); } } ).find( 'input#stripe_create_account, input#ppec_paypal_reroute_requests' ).change(); diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index c7c765470a3..aa8f6c1ee16 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -1155,7 +1155,7 @@ class WC_Admin_Setup_Wizard { 'placeholder' => '', 'required' => false, ), - 'api_subject' => array( + 'email' => array( 'label' => __( 'Direct payments to email address:', 'woocommerce' ), 'type' => 'email', 'value' => $user_email,