Changeset 22735 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 11/20/2012 11:22:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r22725 r22735 15 15 if ( wp_is_mobile() ) 16 16 wp_enqueue_script( 'jquery-touch-punch' ); 17 18 if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) {19 add_thickbox();20 wp_enqueue_media();21 }22 17 23 18 /** … … 29 24 $user_ID = isset($user_ID) ? (int) $user_ID : 0; 30 25 $action = isset($action) ? $action : ''; 26 27 if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) { 28 add_thickbox(); 29 wp_enqueue_media( array( 'post' => $post_id ) ); 30 } 31 31 32 32 $messages = array();
Note: See TracChangeset
for help on using the changeset viewer.