Changeset 18895 for trunk/wp-admin/includes/media.php
- Timestamp:
- 10/05/2011 10:57:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r18894 r18895 1999 1999 } 2000 2000 2001 add_action( 'post-upload-ui', 'media_upload_max_image_resize');2002 2003 add_filter( 'async_upload_image', 'get_media_item', 10, 2);2004 add_filter( 'async_upload_audio', 'get_media_item', 10, 2);2005 add_filter( 'async_upload_video', 'get_media_item', 10, 2);2006 add_filter( 'async_upload_file', 'get_media_item', 10, 2);2001 add_action( 'post-upload-ui', 'media_upload_max_image_resize' ); 2002 2003 add_filter( 'async_upload_image', 'get_media_item', 10, 2 ); 2004 add_filter( 'async_upload_audio', 'get_media_item', 10, 2 ); 2005 add_filter( 'async_upload_video', 'get_media_item', 10, 2 ); 2006 add_filter( 'async_upload_file', 'get_media_item', 10, 2 ); 2007 2007 2008 2008 add_action( 'media_upload_image', 'wp_media_upload_handler' ); … … 2011 2011 add_action( 'media_upload_file', 'wp_media_upload_handler' ); 2012 2012 2013 add_filter('media_upload_gallery', 'media_upload_gallery'); 2014 2015 add_filter('media_upload_library', 'media_upload_library'); 2013 add_filter( 'media_upload_gallery', 'media_upload_gallery' ); 2014 add_filter( 'media_upload_library', 'media_upload_library' ); 2016 2015 2017 2016 function media_upload_image() {
Note: See TracChangeset
for help on using the changeset viewer.