Add thickbox to pages that use media uploader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bb7f1c0c4
commit
3b7179f50e
|
@ -7,6 +7,7 @@ wp_enqueue_script('autosave');
|
|||
wp_enqueue_script('page');
|
||||
if ( user_can_richedit() )
|
||||
wp_enqueue_script('editor');
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ case 'edit':
|
|||
wp_enqueue_script('page');
|
||||
if ( user_can_richedit() )
|
||||
wp_enqueue_script('editor');
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ wp_enqueue_script('autosave');
|
|||
wp_enqueue_script('post');
|
||||
if ( user_can_richedit() )
|
||||
wp_enqueue_script('editor');
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ case 'edit':
|
|||
wp_enqueue_script('post');
|
||||
if ( user_can_richedit() )
|
||||
wp_enqueue_script('editor');
|
||||
add_thickbox();
|
||||
wp_enqueue_script('media-upload');
|
||||
wp_enqueue_script('word-count');
|
||||
|
||||
|
|
Loading…
Reference in New Issue