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

git-svn-id: https://develop.svn.wordpress.org/trunk@7535 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-26 21:26:28 +00:00
parent b3190f7164
commit 204899a05c
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;