Fix user feedback when editing attachment details immediately after upload. Props andy. fixes #6398

git-svn-id: http://svn.automattic.com/wordpress/trunk@7535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-26 21:26:28 +00:00
parent d9e10dd831
commit fccd2c132e
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@ function media_upload_form( $errors = null ) {
$flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php";
// If Mac and mod_security, no Flash. :(
$flash = false;
$flash = true;
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;