Update class-wc-admin-menus.php to use button instead of input for submit
This commit is contained in:
parent
9090f012f9
commit
7aed2acf4a
|
@ -307,7 +307,7 @@ if ( ! class_exists( 'WC_Admin_Menus', false ) ) :
|
|||
<a href="<?php echo esc_url( admin_url( 'nav-menus.php?page-tab=all&selectall=1#posttype-woocommerce-endpoints' ) ); ?>" class="select-all"><?php esc_html_e( 'Select all', 'woocommerce' ); ?></a>
|
||||
</span>
|
||||
<span class="add-to-menu">
|
||||
<input type="submit" class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu', 'woocommerce' ); ?>" name="add-post-type-menu-item" id="submit-posttype-woocommerce-endpoints">
|
||||
<button type="submit" class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( 'Add to menu', 'woocommerce' ); ?>" name="add-post-type-menu-item" id="submit-posttype-woocommerce-endpoints"><?php esc_html_e( 'Add to menu', 'woocommerce' ); ?></button>
|
||||
<span class="spinner"></span>
|
||||
</span>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue