CoreFiles by mySites.guru
plugin.js17 lines, 445 bytes, from wordpress-4.4-beta1.zip
Raw History Compare with 4.3-beta4
md5
3090c39f23f50001dcd1ca3fef7589be
sha1
19becae1f0ab83a25dda5d3a74b2d0bb24f47828
sha256
94d184edd802ebbfb0e7f749f0fb36819adc1605ca477feddd5573bee46dec13
(function ( tinymce ) {
	'use strict';

	tinymce.PluginManager.add( 'wpoembed', 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 );

No other release has this exact content. See every version of this file.