Changeset 8998 for trunk/wp-admin/async-upload.php
- Timestamp:
- 09/27/2008 08:17:55 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/async-upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/async-upload.php
r8618 r8998 27 27 // just fetch the detail form for that attachment 28 28 if ( ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) { 29 echo get_media_item($id); 29 if ( 2 == $_REQUEST['fetch'] ) { 30 add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2); 31 echo get_media_item($id, array( 'send' => false, 'delete' => false )); 32 } else { 33 echo get_media_item($id); 34 } 30 35 exit; 31 36 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)