jQuery: Replace `$( document ).on( 'ready', fn )` with `$( fn )`.

The 'ready' event is deprecated since jQuery 1.8.

See https://github.com/jquery/jquery-migrate/blob/1.3.0/warnings.md#jqmigrate-ready-event-is-deprecated.
See #35380.
Built from https://develop.svn.wordpress.org/trunk@36288


git-svn-id: http://core.svn.wordpress.org/trunk@36255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-01-13 17:39:25 +00:00
parent b7df807589
commit 9cd5b76fbd
2 changed files with 2 additions and 2 deletions

View File

@ -56,6 +56,6 @@
window.wp.mediaelement = new wpMediaElement();
$( document ).on( 'ready', window.wp.mediaelement.initialize );
$( window.wp.mediaelement.initialize );
})( window, jQuery );

View File

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