From b9fa351736b3f112842950406d20812d5ceefdd1 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: https://develop.svn.wordpress.org/trunk@22305 602fd350-edb4-49c9-b593-d223f7449a82 --- 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();