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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2011-06-12 12:47:18 +00:00
parent 9e9cd7160a
commit ed5785c9ef

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>