Embeds: Rename files, functions, and hooks added in [34903] to make it more clear what is oEmbed-specific and what isn't.
See https://core.trac.wordpress.org/ticket/34272#comment:7 for full list of renamed functions and hooks. Props swissspidy. Fixes #34272. Built from https://develop.svn.wordpress.org/trunk@35235 git-svn-id: http://core.svn.wordpress.org/trunk@35201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
var scriptElm = editor.dom.create( 'script', {
|
||||
id: scriptId,
|
||||
type: 'text/javascript',
|
||||
src: url + '/../../../wp-oembed.js'
|
||||
src: url + '/../../../wp-embed.js'
|
||||
} );
|
||||
|
||||
editor.getDoc().getElementsByTagName( 'head' )[ 0 ].appendChild( scriptElm );
|
||||
|
||||
@@ -1 +1 @@
|
||||
!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-oembed.js"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)})})}(window.tinymce);
|
||||
!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.
Reference in New Issue
Block a user