Skip to content

Commit

Permalink
Reverse commit to create a clean feature branch for create-permalink.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Wheatley committed Apr 4, 2013
1 parent bb1164b commit 985058a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions safe-redirect-manager.php
Expand Up @@ -765,8 +765,7 @@ public function action_parse_request() {
return;

// get requested path and add a / before it
$requested_path = esc_url_raw( $_SERVER['REQUEST_URI'] );
$requested_path = stripslashes( $requested_path );
$requested_path = sanitize_text_field( $_SERVER['REQUEST_URI'] );

/**
* If WordPress resides in a directory that is not the public root, we have to chop
Expand Down

0 comments on commit 985058a

Please sign in to comment.