mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 01:39:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user