From a0313cde8cadb26d01248839d17f0e8b099fd61c Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 25 Dec 2010 15:03:35 +0000 Subject: [PATCH] Delay wp_tiny_mce_preload_dialogs to the footer, as occurs in admin-header. props ocean90, fixes #15561. git-svn-id: http://svn.automattic.com/wordpress/trunk@17140 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/press-this.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index a7d5c81be..b16f57757 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -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 ); } ?>