Embeds: Rename TinyMCE `wpoembed` plugin to `wpembed`.
Props swissspidy. Fixes #34272. git-svn-id: https://develop.svn.wordpress.org/trunk@35397 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fa29612530
commit
ee4e4b8ff2
|
@ -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();
|
||||
|
Loading…
Reference in New Issue