Changeset 4990 for trunk/wp-admin/post.php
- Timestamp:
- 03/07/2007 05:29:15 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r4953 r4990 161 161 162 162 $sendback = wp_get_referer(); 163 if (str str($sendback, 'post.php')) $sendback = get_option('siteurl') .'/wp-admin/post-new.php';164 elseif (str str($sendback, 'attachments.php')) $sendback = get_option('siteurl') .'/wp-admin/attachments.php';163 if (strpos($sendback, 'post.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/post-new.php'; 164 elseif (strpos($sendback, 'attachments.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/attachments.php'; 165 165 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 166 166 wp_redirect($sendback);
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)