Changeset 4144 for trunk/wp-admin/page.php
- Timestamp:
- 08/30/2006 09:46:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/page.php
r4088 r4144 145 145 146 146 $sendback = wp_get_referer(); 147 if (strstr($sendback, 'page.php')) $sendback = get_ settings('siteurl') .'/wp-admin/page.php';148 elseif (strstr($sendback, 'attachments.php')) $sendback = get_ settings('siteurl') .'/wp-admin/attachments.php';147 if (strstr($sendback, 'page.php')) $sendback = get_option('siteurl') .'/wp-admin/page.php'; 148 elseif (strstr($sendback, 'attachments.php')) $sendback = get_option('siteurl') .'/wp-admin/attachments.php'; 149 149 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 150 150 wp_redirect($sendback);
Note: See TracChangeset
for help on using the changeset viewer.