Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected
This commit is contained in:
parent
16649fa7d9
commit
5d71521d6a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue