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:
Sergey Biryukov 2015-10-26 14:50:26 +00:00
parent be620e6da6
commit ae58f104cb
6 changed files with 4 additions and 4 deletions

View File

@ -402,7 +402,7 @@ final class _WP_Editors {
'wpdialogs',
'wptextpattern',
'wpview',
'wpoembed',
'wpembed',
);
if ( ! self::$has_medialib ) {

View File

@ -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();

View File

@ -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);

View File

@ -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);

View File

@ -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.