Embeds: Rename TinyMCE `wpoembed` plugin to `wpembed`.
Props swissspidy. Fixes #34272. Built from https://develop.svn.wordpress.org/trunk@35397 git-svn-id: http://core.svn.wordpress.org/trunk@35361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
be620e6da6
commit
ae58f104cb
|
@ -402,7 +402,7 @@ final class _WP_Editors {
|
|||
'wpdialogs',
|
||||
'wptextpattern',
|
||||
'wpview',
|
||||
'wpoembed',
|
||||
'wpembed',
|
||||
);
|
||||
|
||||
if ( ! self::$has_medialib ) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(function ( tinymce ) {
|
||||
'use strict';
|
||||
|
||||
tinymce.PluginManager.add( 'wpoembed', function ( editor, url ) {
|
||||
tinymce.PluginManager.add( 'wpembed', function ( editor, url ) {
|
||||
editor.on( 'init', function () {
|
||||
var scriptId = editor.dom.uniqueId();
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(a){"use strict";a.PluginManager.add("wpembed",function(a,b){a.on("init",function(){var c=a.dom.uniqueId(),d=a.dom.create("script",{id:c,type:"text/javascript",src:b+"/../../../wp-embed.js"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)})})}(window.tinymce);
|
|
@ -1 +0,0 @@
|
|||
!function(a){"use strict";a.PluginManager.add("wpoembed",function(a,b){a.on("init",function(){var c=a.dom.uniqueId(),d=a.dom.create("script",{id:c,type:"text/javascript",src:b+"/../../../wp-embed.js"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)})})}(window.tinymce);
|
Binary file not shown.
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta1-35396';
|
||||
$wp_version = '4.4-beta1-35397';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue