Changeset 7998 for trunk/wp-admin/page.php
- Timestamp:
- 05/27/2008 05:46:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/page.php
r7961 r7998 149 149 150 150 $sendback = wp_get_referer(); 151 if (strpos($sendback, 'page.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/page.php';152 elseif (strpos($sendback, 'attachments.php') !== false) $sendback = get_option('siteurl') .'/wp-admin/attachments.php';151 if (strpos($sendback, 'page.php') !== false) $sendback = admin_url('page.php'); 152 elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php'); 153 153 $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback); 154 154 wp_redirect($sendback);
Note: See TracChangeset
for help on using the changeset viewer.