mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Fix typo and add more text to the error shown when 'wpdialogs' is not enqueued. Add 'wp_enqueue_editor' action fired when scripts and styles for the editor are being enqueued, fixes #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -733,6 +733,15 @@ final class _WP_Editors {
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires when scripts and styles are enqueued for the editor
|
||||
*
|
||||
* @since 3.9.0
|
||||
*
|
||||
* @param array An array containing boolean values whether TinyMCE and Quicktags are being loaded.
|
||||
*/
|
||||
do_action( 'wp_enqueue_editor', array( 'tinymce' => self::$has_tinymce, 'quicktags' => self::$has_quicktags ) );
|
||||
}
|
||||
|
||||
public static function wp_mce_translation() {
|
||||
|
||||
Reference in New Issue
Block a user