Change input to button for submit in class-wc-meta-box-order-actions.php

This commit is contained in:
Gerhard Potgieter 2017-11-06 15:23:00 +02:00
parent 8bb051fdcf
commit 0c5a208057
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class WC_Meta_Box_Order_Actions {
?>
</div>
<input type="submit" class="button save_order button-primary" name="save" value="<?php echo 'auto-draft' === $post->post_status ? esc_attr__( 'Create', 'woocommerce' ) : esc_attr__( 'Update', 'woocommerce' ); ?>" />
<button type="submit" class="button save_order button-primary" name="save" value="<?php echo 'auto-draft' === $post->post_status ? esc_attr__( 'Create', 'woocommerce' ) : esc_attr__( 'Update', 'woocommerce' ); ?>"><?php echo 'auto-draft' === $post->post_status ? esc_html__( 'Create', 'woocommerce' ) : esc_html__( 'Update', 'woocommerce' ); ?></button>
</li>
<?php do_action( 'woocommerce_order_actions_end', $post->ID ); ?>