mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Media: Upgrade MediaElement.js from 2.22.0 to 4.2.3.
Props rafa8626, grosbouff, westonruter, azaozz, Plastikschnitzer for testing. See #39686. git-svn-id: https://develop.svn.wordpress.org/trunk@41198 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -251,7 +251,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
|
||||
$widget->enqueue_preview_scripts();
|
||||
$this->assertTrue( wp_script_is( 'wp-mediaelement' ) );
|
||||
$this->assertTrue( wp_style_is( 'wp-mediaelement' ) );
|
||||
$this->assertTrue( wp_script_is( 'froogaloop' ) );
|
||||
$this->assertTrue( wp_script_is( 'mediaelement-vimeo' ) );
|
||||
|
||||
$wp_scripts = null;
|
||||
$wp_styles = null;
|
||||
@@ -259,7 +259,7 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase {
|
||||
$widget->enqueue_preview_scripts();
|
||||
$this->assertFalse( wp_script_is( 'wp-mediaelement' ) );
|
||||
$this->assertFalse( wp_style_is( 'wp-mediaelement' ) );
|
||||
$this->assertTrue( wp_script_is( 'froogaloop' ) );
|
||||
$this->assertFalse( wp_script_is( 'mediaelement-vimeo' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user