mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Remove manual santization of redirect URLs (handled in wp_redirect())
git-svn-id: https://develop.svn.wordpress.org/trunk@9779 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -70,7 +70,6 @@ case 'bulk-delete':
|
||||
}
|
||||
|
||||
$sendback = wp_get_referer();
|
||||
$sendback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $sendback);
|
||||
|
||||
wp_redirect($sendback);
|
||||
exit();
|
||||
|
||||
Reference in New Issue
Block a user