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:
parent
a3e602baec
commit
577f585169
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user