Setup wizard: add “not right now” dashboard link on the initial wizard step.

This commit is contained in:
Jeff Stieler 2017-09-05 13:48:07 -06:00
parent b159347cfb
commit 30fd62cfb8
1 changed files with 3 additions and 1 deletions

View File

@ -190,7 +190,9 @@ class WC_Admin_Setup_Wizard {
*/
public function setup_wizard_footer() {
?>
<?php if ( 'next_steps' === $this->step ) : ?>
<?php if ( 'store_setup' === $this->step ) : ?>
<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 endif; ?>
</body>