Setup wizard: add “skip” link to activate step.

This commit is contained in:
Jeff Stieler 2017-09-05 17:53:14 -06:00
parent 7e2ffa2043
commit 14066f33ec
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ class WC_Admin_Setup_Wizard {
<a class="wc-return-to-dashboard" href="<?php echo esc_url( admin_url() ); ?>"><?php esc_html_e( 'Not right now', 'woocommerce' ); ?></a>
<?php elseif ( 'next_steps' === $this->step ) : ?>
<a class="wc-return-to-dashboard" href="<?php echo esc_url( admin_url() ); ?>"><?php esc_html_e( 'Return to the WordPress Dashboard', 'woocommerce' ); ?></a>
<?php elseif ( 'activate' === $this->step ) : ?>
<a class="wc-return-to-dashboard" href="<?php echo esc_url( $this->get_next_step_link() ); ?>"><?php esc_html_e( 'Skip this step', 'woocommerce' ); ?></a>
<?php endif; ?>
</body>
</html>