Changeset 14107 for trunk/wp-admin/post.php
- Timestamp:
- 04/16/2010 02:03:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r13242 r14107 171 171 } 172 172 173 wp_enqueue_script('post');174 if ( user_can_richedit() )175 wp_enqueue_script('editor');176 add_thickbox();177 wp_enqueue_script('media-upload');178 wp_enqueue_script('word-count');179 wp_enqueue_script( 'admin-comments' );180 enqueue_comment_hotkeys_js();181 182 173 if ( $last = wp_check_post_lock( $post->ID ) ) { 183 174 add_action('admin_notices', '_admin_notice_post_locked' ); … … 189 180 $title = sprintf(__('Edit %s'), $post_type_object->singular_label); 190 181 $post = get_post_to_edit($post_id); 182 183 if ( post_type_supports($post_type, 'comments') ) { 184 wp_enqueue_script('admin-comments'); 185 enqueue_comment_hotkeys_js(); 186 } 191 187 192 188 include('edit-form-advanced.php');
Note: See TracChangeset
for help on using the changeset viewer.