Make WordPress Core


Ignore:
Timestamp:
08/25/2021 06:47:22 PM (3 years ago)
Author:
desrosj
Message:

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

Props zieladam, azaozz.
Merges [51649] to the 5.8 branch.
Fixes #53762.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-includes/class-wp-editor.php

    r51407 r51656  
    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.