From 46c9b7026549ddbd0e5d16563428c2cc456ec5fb Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 8 Sep 2021 19:14:49 +0000 Subject: [PATCH] Editor: fix the replacement of `wp.editor` with `wp.oldEditor` in the inline script outputted when enqueueing the old editor. Props fullofcaffeine, davidbinda, grantmkin, get_dave, azaozz. Fixes #53762. git-svn-id: https://develop.svn.wordpress.org/trunk@51748 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-editor.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 9ec353c907..5387d850d5 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -969,8 +969,12 @@ final class _WP_Editors { ?>