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:
Andrew Ozz
2021-08-21 00:20:00 +00:00
parent 7fc3aae637
commit 774c8047c5
12 changed files with 28 additions and 28 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: {