Give the button an id so it validates.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-12-16 21:35:39 +00:00
parent 08576ca317
commit 3122155c6c

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') ?>">
<?php wp_nonce_field( 'theme-upload') ?>
<input type="file" name="themezip" />
<?php submit_button( __( 'Install Now' ), 'button', '', false ); ?>
<?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
</form>
<?php
}