Changeset 3928 for trunk/wp-admin/inline-uploading.php
- Timestamp:
- 06/27/2006 05:38:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/inline-uploading.php
r3765 r3928 42 42 wp_delete_attachment($attachment); 43 43 44 header("Location: " .basename(__FILE__) ."?post=$post&all=$all&action=view&start=$start");44 wp_redirect(basename(__FILE__) ."?post=$post&all=$all&action=view&start=$start"); 45 45 die; 46 46 … … 103 103 } 104 104 105 header("Location: " .basename(__FILE__) . "?post=$post&all=$all&action=view&start=0");105 wp_redirect(basename(__FILE__) . "?post=$post&all=$all&action=view&start=0"); 106 106 die(); 107 107 … … 142 142 143 143 if ( count($attachments) == 0 ) { 144 header("Location: " .basename(__FILE__) ."?post=$post&action=upload" );144 wp_redirect( basename(__FILE__) ."?post=$post&action=upload" ); 145 145 die; 146 146 } elseif ( count($attachments) > $num ) {
Note: See TracChangeset
for help on using the changeset viewer.