Changeset 32653 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 05/29/2015 05:03:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r32650 r32653 64 64 return $tabs; 65 65 } 66 add_filter('media_upload_tabs', 'update_gallery_tab');67 66 68 67 /** … … 221 220 return apply_filters( 'image_add_caption_shortcode', $shcode, $html ); 222 221 } 223 add_filter( 'image_send_to_editor', 'image_add_caption', 20, 8 );224 222 225 223 /** … … 578 576 } 579 577 } 580 add_action( 'media_buttons', 'media_buttons' );581 578 582 579 /** … … 1142 1139 } 1143 1140 1144 add_filter( 'attachment_fields_to_save', 'image_attachment_fields_to_save', 10, 2 );1145 1146 1141 /** 1147 1142 * {@internal Missing Short Description}} … … 1168 1163 return $html; 1169 1164 } 1170 1171 add_filter('media_send_to_editor', 'image_media_send_to_editor', 10, 3);1172 1165 1173 1166 /** … … 2612 2605 <?php 2613 2606 } 2614 add_action('post-plupload-upload-ui', 'media_upload_flash_bypass');2615 2607 2616 2608 /** … … 2626 2618 <?php 2627 2619 } 2628 add_action('post-html-upload-ui', 'media_upload_html_bypass');2629 2620 2630 2621 /** … … 2908 2899 endif; 2909 2900 } 2910 2911 add_filter( 'async_upload_image', 'get_media_item', 10, 2 );2912 add_filter( 'async_upload_audio', 'get_media_item', 10, 2 );2913 add_filter( 'async_upload_video', 'get_media_item', 10, 2 );2914 add_filter( 'async_upload_file', 'get_media_item', 10, 2 );2915 2916 add_action( 'media_upload_image', 'wp_media_upload_handler' );2917 add_action( 'media_upload_audio', 'wp_media_upload_handler' );2918 add_action( 'media_upload_video', 'wp_media_upload_handler' );2919 add_action( 'media_upload_file', 'wp_media_upload_handler' );2920 2921 add_filter( 'media_upload_gallery', 'media_upload_gallery' );2922 add_filter( 'media_upload_library', 'media_upload_library' );2923 2924 add_action( 'attachment_submitbox_misc_actions', 'attachment_submitbox_metadata' );2925 2901 2926 2902 /**
Note: See TracChangeset
for help on using the changeset viewer.