mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Delay wp_tiny_mce_preload_dialogs to the footer, as occurs in admin-header. props ocean90, fixes #15561.
git-svn-id: https://develop.svn.wordpress.org/trunk@17140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -346,7 +346,7 @@ var photostorage = false;
|
||||
|
||||
if ( user_can_richedit() ) {
|
||||
wp_tiny_mce( true, array( 'height' => '370' ) );
|
||||
wp_tiny_mce_preload_dialogs();
|
||||
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30 );
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user