Changeset 3928 for trunk/wp-admin/post.php
- Timestamp:
- 06/27/2006 05:38:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r3918 r3928 53 53 $location = "post.php?action=edit&post=$post_ID"; 54 54 55 header("Location: $location");55 wp_redirect($location); 56 56 exit(); 57 57 break; … … 120 120 } 121 121 122 header ('Location: ' .$location); // Send user on their way while we keep working122 wp_redirect($location); // Send user on their way while we keep working 123 123 124 124 exit(); … … 146 146 elseif (strstr($sendback, 'attachments.php')) $sendback = get_settings('siteurl') .'/wp-admin/attachments.php'; 147 147 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 148 header ('Location: ' .$sendback);148 wp_redirect($sendback); 149 149 exit(); 150 150 break; 151 151 152 152 default: 153 header('Location:edit.php');153 wp_redirect('edit.php'); 154 154 exit(); 155 155 break;
Note: See TracChangeset
for help on using the changeset viewer.