Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.

Built from https://develop.svn.wordpress.org/trunk@26898


git-svn-id: http://core.svn.wordpress.org/trunk@26781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-01-02 22:49:09 +00:00
parent 21f4012df4
commit 915607ca0d
2 changed files with 2 additions and 1 deletions

View File

@ -297,6 +297,7 @@ die;
wp_enqueue_style( 'colors' );
wp_enqueue_script( 'post' );
add_thickbox();
_wp_admin_html_begin();
?>
<title><?php _e('Press This') ?></title>

View File

@ -487,7 +487,7 @@ final class _WP_Editors {
wp_enqueue_script('wp-fullscreen');
if ( self::$has_medialib ) {
// add_thickbox(); // ?
add_thickbox();
wp_enqueue_script('media-upload');
}
}