Check the box if the user goes back to setup and previously checked it
This commit is contained in:
parent
0c3fc315c5
commit
9dfdfbf532
|
@ -549,7 +549,7 @@ class WC_Admin_Setup_Wizard {
|
|||
<?php esc_html_e( 'I will also be selling products or services in person.', 'woocommerce' ); ?>
|
||||
</label>
|
||||
|
||||
<input type="checkbox" id="wc_tracker_checkbox" name="wc_tracker_checkbox" value="yes" />
|
||||
<input type="checkbox" id="wc_tracker_checkbox" name="wc_tracker_checkbox" value="yes" <?php checked( 'yes', get_option( 'woocommerce_allow_tracking', 'no' ) ); ?> />
|
||||
|
||||
<?php $this->tracking_modal(); ?>
|
||||
|
||||
|
@ -591,7 +591,7 @@ class WC_Admin_Setup_Wizard {
|
|||
?>
|
||||
</p>
|
||||
<p class="woocommerce-tracker-checkbox">
|
||||
<input type="checkbox" id="wc_tracker_checkbox_dialog" name="wc_tracker_checkbox_dialog" value="yes" />
|
||||
<input type="checkbox" id="wc_tracker_checkbox_dialog" name="wc_tracker_checkbox_dialog" value="yes" <?php checked( 'yes', get_option( 'woocommerce_allow_tracking', 'no' ) ); ?> />
|
||||
<label for="wc_tracker_checkbox_dialog"><?php esc_html_e( 'Enable usage tracking and help improve WooCommerce', 'woocommerce' ); ?></label>
|
||||
</p>
|
||||
</article>
|
||||
|
|
Loading…
Reference in New Issue