Give the button an id so it validates.

git-svn-id: https://develop.svn.wordpress.org/trunk@17008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-12-16 21:35:39 +00:00
parent f3490db600
commit 96129e7e4b

View File

@ -119,7 +119,7 @@ function install_themes_upload($page = 1) {
<form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme') ?>"> <form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme') ?>">
<?php wp_nonce_field( 'theme-upload') ?> <?php wp_nonce_field( 'theme-upload') ?>
<input type="file" name="themezip" /> <input type="file" name="themezip" />
<?php submit_button( __( 'Install Now' ), 'button', '', false ); ?> <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
</form> </form>
<?php <?php
} }