mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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',
|
'wpdialogs',
|
||||||
'wptextpattern',
|
'wptextpattern',
|
||||||
'wpview',
|
'wpview',
|
||||||
'wpoembed',
|
'wpembed',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( ! self::$has_medialib ) {
|
if ( ! self::$has_medialib ) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
(function ( tinymce ) {
|
(function ( tinymce ) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
tinymce.PluginManager.add( 'wpoembed', function ( editor, url ) {
|
tinymce.PluginManager.add( 'wpembed', function ( editor, url ) {
|
||||||
editor.on( 'init', function () {
|
editor.on( 'init', function () {
|
||||||
var scriptId = editor.dom.uniqueId();
|
var scriptId = editor.dom.uniqueId();
|
||||||
|
|
1
wp-includes/js/tinymce/plugins/wpembed/plugin.min.js
vendored
Normal file
1
wp-includes/js/tinymce/plugins/wpembed/plugin.min.js
vendored
Normal 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);
|
@ -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
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user