Make WordPress Core


Ignore:
Timestamp:
11/19/2008 06:32:10 AM (17 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/post.php

    r9620 r9779  
    214214    if (strpos($sendback, 'post.php') !== false) $sendback = admin_url('post-new.php');
    215215    elseif (strpos($sendback, 'attachments.php') !== false) $sendback = admin_url('attachments.php');
    216     $sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
    217216    wp_redirect($sendback);
    218217    exit();
Note: See TracChangeset for help on using the changeset viewer.