Changeset 3571 for trunk/wp-admin/post.php
- Timestamp:
- 02/27/2006 05:15:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r3563 r3571 108 108 $location = 'attachments.php'; 109 109 } else { 110 $location = 'post .php';110 $location = 'post-new.php'; 111 111 } 112 112 header ('Location: ' . $location); // Send user on their way while we keep working … … 134 134 135 135 $sendback = $_SERVER['HTTP_REFERER']; 136 if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post .php';136 if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post-new.php'; 137 137 elseif (strstr($sendback, 'attachments.php')) $sendback = get_settings('siteurl') .'/wp-admin/attachments.php'; 138 138 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
Note: See TracChangeset
for help on using the changeset viewer.