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:
parent
08576ca317
commit
3122155c6c
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue