Add IE11 to the browser whitelist for MediaElement-based MCE views.

Props azaozz.
Fixes #28742.

Built from https://develop.svn.wordpress.org/trunk@28985


git-svn-id: http://core.svn.wordpress.org/trunk@28774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-07-04 01:10:15 +00:00
parent d73923eb4d
commit 9181f36b7e
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
passes = ua.match(/MSIE [6-8]/gi) !== null; passes = ua.match(/MSIE [6-8]/gi) !== null;
break; break;
case 'ie': case 'ie':
passes = ua.match(/MSIE/gi) !== null; passes = /MSIE /.test( ua ) || ( /Trident\//.test( ua ) && /rv:\d/.test( ua ) ); // IE11
break; break;
case 'ff': case 'ff':
passes = ua.match(/firefox/gi) !== null; passes = ua.match(/firefox/gi) !== null;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.0-alpha-20140703'; $wp_version = '4.0-alpha-20140704';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.