Changeset 7998 for trunk/wp-admin/edit.php
- Timestamp:
- 05/27/2008 05:46:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r7883 r7998 21 21 22 22 $sendback = wp_get_referer(); 23 if (strpos($sendback, 'post.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/post-new.php';24 elseif (strpos($sendback, 'attachments.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/attachments.php';23 if (strpos($sendback, 'post.php') !== false) $sendback = admin_url('post-new.php'); 24 elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php'); 25 25 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 26 26
Note: See TracChangeset
for help on using the changeset viewer.