Wizard: Style tracking option

This commit is contained in:
Valerie 2017-10-01 11:04:37 +03:00 committed by Marcin Bot
parent 231b9e7c2c
commit 9a2ab72cd6
2 changed files with 8 additions and 1 deletions

View File

@ -926,3 +926,10 @@ p.jetpack-terms {
margin: 0 auto;
line-height: 1.5em;
}
.allow-tracking {
color: #9f9f9f;
margin-top: 2em;
text-align: center;
font-size: 0.9em;
}

View File

@ -395,7 +395,7 @@ class WC_Admin_Setup_Wizard {
<option value="both" <?php selected( $product_type, 'both' ); ?>><?php esc_html_e( 'I plan to sell both', 'woocommerce' ); ?></option>
</select>
<?php if ( 'unknown' === get_option( 'woocommerce_allow_tracking', 'unknown' ) ) : ?>
<div>
<div class="allow-tracking">
<input type="checkbox" id="wc_tracker_optin" name="wc_tracker_optin" value="yes" checked />
<label for="wc_tracker_optin"><?php _e( 'Allow WooCommerce to collect non-sensitive diagnostic data and usage information.', 'woocommerce' ); ?></label>
</div>