Changeset 18823 for trunk/wp-admin/includes/media.php
- Timestamp:
- 09/29/2011 09:47:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r18802 r18823 402 402 403 403 function get_upload_iframe_src($type) { 404 global $post_ID, $temp_ID; 405 $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); 404 global $post_ID; 405 406 $uploading_iframe_ID = (int) $post_ID; 406 407 $upload_iframe_src = add_query_arg( 'post_id', $uploading_iframe_ID, admin_url('media-upload.php') ); 407 408 408 409 if ( 'media' != $type ) 409 410 $upload_iframe_src = add_query_arg('type', $type, $upload_iframe_src); 411 410 412 $upload_iframe_src = apply_filters($type . '_upload_iframe_src', $upload_iframe_src); 411 413
Note: See TracChangeset
for help on using the changeset viewer.