mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
9e9cd7160a
commit
ed5785c9ef
@ -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