Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.

git-svn-id: https://develop.svn.wordpress.org/trunk@7550 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-03-27 17:37:37 +00:00
parent 49e64b74e2
commit ba75677939

View File

@ -769,6 +769,7 @@ function media_upload_form( $errors = null ) {
if ( false !== strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'mac') && apache_mod_loaded('mod_security') )
$flash = false;
$flash = apply_filters('flash_uploader', $flash);
$post_id = intval($_REQUEST['post_id']);
?>