Avoid an IE8 JS error when removing a MediaElement player.
Props afercia. Fixes #31058. Built from https://develop.svn.wordpress.org/trunk@31386 git-svn-id: http://core.svn.wordpress.org/trunk@31367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b191013198
commit
afa3a03ff8
|
@ -53,7 +53,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( 'native' !== t.media.pluginType ) {
|
if ( 'native' !== t.media.pluginType ) {
|
||||||
t.media.remove();
|
t.$media.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
delete window.mejs.players[t.id];
|
delete window.mejs.players[t.id];
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31385';
|
$wp_version = '4.2-alpha-31386';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue