Make WordPress Core


Ignore:
Timestamp:
11/19/2008 06:32:10 AM (18 years ago)
Author:
markjaquith
Message:

Remove manual santization of redirect URLs (handled in wp_redirect())

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/page.php

    r9716 r9779  
    169169    if (strpos($sendback, 'page.php') !== false) $sendback = admin_url('page-new.php');
    170170    elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php');
    171     $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
    172171    wp_redirect($sendback);
    173172    exit();
Note: See TracChangeset for help on using the changeset viewer.