CoreFiles by mySites.guru
plugin.js17 lines, 444 bytes, from wordpress-4.7.21.zip
Raw History Compare with 4.7.20
md5
cf382af5522fa9a0bb3f049225de14ef
sha1
4aad17264ea9dc5404a68be1240789cf59541784
sha256
75c9bd3ffc2bed905d64c0d854b780c03498d74913be3812d84f2252d611682d
(function ( tinymce ) {
	'use strict';

	tinymce.PluginManager.add( 'wpembed', function ( editor, url ) {
		editor.on( 'init', function () {
			var scriptId = editor.dom.uniqueId();

			var scriptElm = editor.dom.create( 'script', {
				id: scriptId,
				type: 'text/javascript',
				src: url + '/../../../wp-embed.js'
			} );

			editor.getDoc().getElementsByTagName( 'head' )[ 0 ].appendChild( scriptElm );
		} );
	} );
})( window.tinymce );

The same content is in 172 releases, WordPress 4.4-beta2 to 4.7.39. See them all, or every version of this file.