Ticket #6406: 6406.diff
File 6406.diff, 709 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/media.php
764 764 765 765 $flash_action_url = get_option('siteurl') . "/wp-admin/async-upload.php"; 766 766 767 $flash = apply_filters('flash_uploader', true); 767 768 // If Mac and mod_security, no Flash. :( 768 $flash = true; 769 if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') ) 769 if ( $flash && false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') ) 770 770 $flash = false; 771 771 772 772 $post_id = intval($_REQUEST['post_id']);