Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected
This commit is contained in:
parent
16649fa7d9
commit
5d71521d6a
|
@ -1744,48 +1744,50 @@ class WC_Admin_Setup_Wizard {
|
||||||
<input type="hidden" name="save_step" value="activate" />
|
<input type="hidden" name="save_step" value="activate" />
|
||||||
<?php wp_nonce_field( 'wc-setup' ); ?>
|
<?php wp_nonce_field( 'wc-setup' ); ?>
|
||||||
</form>
|
</form>
|
||||||
<h3 class="jetpack-reasons">
|
<?php if ( ! $jetpack_connected ) : ?>
|
||||||
<?php
|
<h3 class="jetpack-reasons">
|
||||||
echo esc_html( $description ?
|
<?php
|
||||||
__( "Bonus reasons you'll love Jetpack", 'woocommerce' ) :
|
echo esc_html( $description ?
|
||||||
__( "Reasons you'll love Jetpack", 'woocommerce' )
|
__( "Bonus reasons you'll love Jetpack", 'woocommerce' ) :
|
||||||
);
|
__( "Reasons you'll love Jetpack", 'woocommerce' )
|
||||||
?>
|
);
|
||||||
</h3>
|
?>
|
||||||
<ul class="wc-wizard-features">
|
</h3>
|
||||||
<li class="wc-wizard-feature-item">
|
<ul class="wc-wizard-features">
|
||||||
<p class="wc-wizard-feature-name">
|
<li class="wc-wizard-feature-item">
|
||||||
<strong><?php esc_html_e( 'Better security', 'woocommerce' ); ?></strong>
|
<p class="wc-wizard-feature-name">
|
||||||
</p>
|
<strong><?php esc_html_e( 'Better security', 'woocommerce' ); ?></strong>
|
||||||
<p class="wc-wizard-feature-description">
|
</p>
|
||||||
<?php esc_html_e( 'Protect your store from unauthorized access.', 'woocommerce' ); ?>
|
<p class="wc-wizard-feature-description">
|
||||||
</p>
|
<?php esc_html_e( 'Protect your store from unauthorized access.', 'woocommerce' ); ?>
|
||||||
</li>
|
</p>
|
||||||
<li class="wc-wizard-feature-item">
|
</li>
|
||||||
<p class="wc-wizard-feature-name">
|
<li class="wc-wizard-feature-item">
|
||||||
<strong><?php esc_html_e( 'Store stats', 'woocommerce' ); ?></strong>
|
<p class="wc-wizard-feature-name">
|
||||||
</p>
|
<strong><?php esc_html_e( 'Store stats', 'woocommerce' ); ?></strong>
|
||||||
<p class="wc-wizard-feature-description">
|
</p>
|
||||||
<?php esc_html_e( 'Get insights on how your store is doing, including total sales, top products, and more.', 'woocommerce' ); ?>
|
<p class="wc-wizard-feature-description">
|
||||||
</p>
|
<?php esc_html_e( 'Get insights on how your store is doing, including total sales, top products, and more.', 'woocommerce' ); ?>
|
||||||
</li>
|
</p>
|
||||||
<li class="wc-wizard-feature-item">
|
</li>
|
||||||
<p class="wc-wizard-feature-name">
|
<li class="wc-wizard-feature-item">
|
||||||
<strong><?php esc_html_e( 'Store monitoring', 'woocommerce' ); ?></strong>
|
<p class="wc-wizard-feature-name">
|
||||||
</p>
|
<strong><?php esc_html_e( 'Store monitoring', 'woocommerce' ); ?></strong>
|
||||||
<p class="wc-wizard-feature-description">
|
</p>
|
||||||
<?php esc_html_e( 'Get an alert if your store is down for even a few minutes.', 'woocommerce' ); ?>
|
<p class="wc-wizard-feature-description">
|
||||||
</p>
|
<?php esc_html_e( 'Get an alert if your store is down for even a few minutes.', 'woocommerce' ); ?>
|
||||||
</li>
|
</p>
|
||||||
<li class="wc-wizard-feature-item">
|
</li>
|
||||||
<p class="wc-wizard-feature-name">
|
<li class="wc-wizard-feature-item">
|
||||||
<strong><?php esc_html_e( 'Product promotion', 'woocommerce' ); ?></strong>
|
<p class="wc-wizard-feature-name">
|
||||||
</p>
|
<strong><?php esc_html_e( 'Product promotion', 'woocommerce' ); ?></strong>
|
||||||
<p class="wc-wizard-feature-description">
|
</p>
|
||||||
<?php esc_html_e( "Share new items on social media the moment they're live in your store.", 'woocommerce' ); ?>
|
<p class="wc-wizard-feature-description">
|
||||||
</p>
|
<?php esc_html_e( "Share new items on social media the moment they're live in your store.", 'woocommerce' ); ?>
|
||||||
</li>
|
</p>
|
||||||
</ul>
|
</li>
|
||||||
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue