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:
parent
b98ffad893
commit
74211907ea
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user