Make WordPress Core


Ignore:
Timestamp:
08/21/2021 12:18:25 AM (3 years ago)
Author:
azaozz
Message:

Editor: Replace the remaining references to wp.editor with wp.oldEditor.

Props zieladam.
Fixes #53762.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r51402 r51649  
    970970        <script type="text/javascript">
    971971        window.wp = window.wp || {};
    972         window.wp.editor = window.wp.editor || {};
    973         window.wp.editor.getDefaultSettings = function() {
     972        window.wp.editor = window.wp.oldEditor = window.wp.oldEditor || {};
     973        window.wp.oldEditor.getDefaultSettings = function() {
    974974            return {
    975975                tinymce: <?php echo $settings; ?>,
Note: See TracChangeset for help on using the changeset viewer.