mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.
See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2980,6 +2980,8 @@ function wp_default_editor() {
|
||||
* @param array $settings See _WP_Editors::editor().
|
||||
*/
|
||||
function wp_editor( $content, $editor_id, $settings = array() ) {
|
||||
if ( ! class_exists( '_WP_Editors', false ) )
|
||||
require( ABSPATH . WPINC . '/class-wp-editor.php' );
|
||||
_WP_Editors::editor($content, $editor_id, $settings);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user