mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@26898 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1fb853d24a
commit
9bf024f8f3
@ -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>
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user