Editor: Revert [51748] and [51649]. They intorduced a bug where wp.editor may be replaced with wp.oldEditor in certain cases.

Props desrosj, davidbinda, azaozz.
Fixes #53762.

git-svn-id: https://develop.svn.wordpress.org/trunk@51768 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2021-09-08 23:28:43 +00:00
parent 46c9b70265
commit 0bf7d5ea0d
6 changed files with 21 additions and 25 deletions

View File

@@ -3524,7 +3524,7 @@ function wp_editor( $content, $editor_id, $settings = array() ) {
* Outputs the editor scripts, stylesheets, and default settings.
*
* The editor can be initialized when needed after page load.
* See wp.oldEditor.initialize() in wp-admin/js/editor.js for initialization options.
* See wp.editor.initialize() in wp-admin/js/editor.js for initialization options.
*
* @uses _WP_Editors
* @since 4.8.0