Change input to button for submit in class-wc-admin-setup-wizard.php
This commit is contained in:
parent
99f38e72c1
commit
8add04b92e
|
@ -446,7 +446,7 @@ class WC_Admin_Setup_Wizard {
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( "Let's go!", 'woocommerce' ); ?>" name="save_step" />
|
||||
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( "Let's go!", 'woocommerce' ); ?>" name="save_step"><?php esc_html_e( "Let's go!", 'woocommerce' ); ?></button>
|
||||
</p>
|
||||
</form>
|
||||
<?php
|
||||
|
@ -857,7 +857,7 @@ class WC_Admin_Setup_Wizard {
|
|||
</div>
|
||||
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step" />
|
||||
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step"><?php esc_html_e( 'Continue', 'woocommerce' ); ?></button>
|
||||
<?php wp_nonce_field( 'wc-setup' ); ?>
|
||||
</p>
|
||||
</form>
|
||||
|
@ -1305,7 +1305,7 @@ class WC_Admin_Setup_Wizard {
|
|||
endforeach; ?>
|
||||
</ul>
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step" />
|
||||
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step"><?php esc_html_e( 'Continue', 'woocommerce' ); ?></button>
|
||||
<?php wp_nonce_field( 'wc-setup' ); ?>
|
||||
</p>
|
||||
</form>
|
||||
|
@ -1417,7 +1417,7 @@ class WC_Admin_Setup_Wizard {
|
|||
</ul>
|
||||
<?php endif; ?>
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step" />
|
||||
<button type="submit" class="button-primary button button-large button-next" value="<?php esc_attr_e( 'Continue', 'woocommerce' ); ?>" name="save_step"><?php esc_html_e( 'Continue', 'woocommerce' ); ?></button>
|
||||
<?php wp_nonce_field( 'wc-setup' ); ?>
|
||||
</p>
|
||||
</form>
|
||||
|
@ -1545,7 +1545,7 @@ class WC_Admin_Setup_Wizard {
|
|||
</p>
|
||||
<form method="post" class="activate-jetpack">
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" class="button-primary button button-large" value="<?php esc_attr_e( 'Connect with Jetpack', 'woocommerce' ); ?>" />
|
||||
<button type="submit" class="button-primary button button-large" value="<?php esc_attr_e( 'Connect with Jetpack', 'woocommerce' ); ?>"><?php esc_html_e( 'Continue with Jetpack', 'woocommerce' ); ?></button>
|
||||
</p>
|
||||
<input type="hidden" name="save_step" value="activate" />
|
||||
<?php wp_nonce_field( 'wc-setup' ); ?>
|
||||
|
@ -1680,13 +1680,13 @@ class WC_Admin_Setup_Wizard {
|
|||
required
|
||||
>
|
||||
<p class="wc-setup-actions step newsletter-form-button-container">
|
||||
<input
|
||||
<button
|
||||
type="submit"
|
||||
value="<?php esc_html_e( 'Yes please!', 'woocommerce' ); ?>"
|
||||
name="subscribe"
|
||||
id="mc-embedded-subscribe"
|
||||
class="button-primary button newsletter-form-button"
|
||||
>
|
||||
><?php esc_html_e( 'Yes please!', 'woocommerce' ); ?></button>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue