Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected

This commit is contained in:
Paul Dechov 2018-02-15 17:49:18 -05:00
parent 16649fa7d9
commit 5d71521d6a
1 changed files with 44 additions and 42 deletions

View File

@ -1744,6 +1744,7 @@ 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>
<?php if ( ! $jetpack_connected ) : ?>
<h3 class="jetpack-reasons"> <h3 class="jetpack-reasons">
<?php <?php
echo esc_html( $description ? echo esc_html( $description ?
@ -1787,6 +1788,7 @@ class WC_Admin_Setup_Wizard {
</li> </li>
</ul> </ul>
<?php endif; ?> <?php endif; ?>
<?php endif; ?>
<?php <?php
} }