mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Allow a plugin to force enable/disable the flash uploader. See #6406 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba90d16134
commit
a0706cbb8a
@ -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']);
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user