From bcb040f1e0005c555af4fccd774ac49174de2618 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 25 Oct 2012 20:53:38 +0000 Subject: [PATCH] Hide the "You are using the multi-file uploader. Problems? Try the browser uploader instead." when Plupload falls back to "html4" runtime, fixes #19496 git-svn-id: http://core.svn.wordpress.org/trunk@22305 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/plupload/handlers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/js/plupload/handlers.js b/wp-includes/js/plupload/handlers.js index 0a631d61dd..0145ece649 100644 --- a/wp-includes/js/plupload/handlers.js +++ b/wp-includes/js/plupload/handlers.js @@ -428,6 +428,9 @@ jQuery(document).ready(function($){ uploaddiv.removeClass('drag-drop'); $('#drag-drop-area').unbind('.wp-uploader'); } + + if ( up.runtime == 'html4' ) + $('.upload-flash-bypass').hide(); }); uploader.init();