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

Props zieladam.
Fixes #53762.

git-svn-id: https://develop.svn.wordpress.org/trunk@51649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2021-08-21 00:18:25 +00:00
parent fe3d953437
commit a2c0ccd117
6 changed files with 22 additions and 22 deletions

View File

@@ -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: {