Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772

git-svn-id: https://develop.svn.wordpress.org/trunk@18290 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2011-06-12 12:47:18 +00:00
parent a3e602baec
commit 577f585169
1 changed files with 1 additions and 1 deletions

View File

@ -1560,7 +1560,7 @@ SWFUpload.onload = function() {
</div>
<?php endif; // $flash ?>
<div id="html-upload-ui" class="hide-if-js">
<div id="html-upload-ui" <?php if ( $flash ) echo 'class="hide-if-js"'; ?>>
<?php do_action('pre-html-upload-ui'); ?>
<p id="async-upload-wrap">
<label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>