Editor: Replace the remaining references to wp.editor with wp.oldEditor.
Props zieladam. Fixes #53762. Built from https://develop.svn.wordpress.org/trunk@51649 git-svn-id: http://core.svn.wordpress.org/trunk@51255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -969,8 +969,8 @@ final class _WP_Editors {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
window.wp = window.wp || {};
|
||||
window.wp.editor = window.wp.editor || {};
|
||||
window.wp.editor.getDefaultSettings = function() {
|
||||
window.wp.editor = window.wp.oldEditor = window.wp.oldEditor || {};
|
||||
window.wp.oldEditor.getDefaultSettings = function() {
|
||||
return {
|
||||
tinymce: <?php echo $settings; ?>,
|
||||
quicktags: {
|
||||
|
||||
Reference in New Issue
Block a user