mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
Block a user