Skip to content

Commit 2245f98

Browse files
author
Scott Anderson
committed
Made fields human readable. Default for get_option.
1 parent d17e779 commit 2245f98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/View/Admin/WooTab.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ private function get_store_information_settings() {
488488
'id' => self::CHECKBOX_LOCATION,
489489
'default' => 'false',
490490
'options' => [
491-
'woocommerce_after_checkout_billing_form' => esc_html__( 'woocommerce_after_checkout_billing_form', 'cc-woo' ),
492-
'woocommerce_review_order_before_submit' => esc_html__( 'woocommerce_review_order_before_submit', 'cc-woo' ),
491+
'woocommerce_after_checkout_billing_form' => esc_html__( 'After Checkout Billing Form', 'cc-woo' ),
492+
'woocommerce_review_order_before_submit' => esc_html__( 'Before order submit button', 'cc-woo' ),
493493
],
494494
],
495495
[
@@ -662,7 +662,7 @@ private function meets_connect_requirements() {
662662
get_option( self::CURRENCY_FIELD, '' ),
663663
get_option( self::COUNTRY_CODE_FIELD ),
664664
get_option( self::EMAIL_FIELD ),
665-
get_option( self::CHECKBOX_LOCATION )
665+
get_option( self::CHECKBOX_LOCATION, 'woocommerce_after_checkout_billing_form' )
666666
);
667667

668668
$validator = new SettingsValidator( $model );

0 commit comments

Comments
 (0)