Skip to content

Commit

Permalink
Removed unnecessary declaration of $path variable inside dark_matter_…
Browse files Browse the repository at this point in the history
…redirect_url() function.
  • Loading branch information
Cameron Terry committed Jan 5, 2017
1 parent 7020243 commit 6cfb518
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions inc/redirects.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ function dark_matter_redirect_url( $domain, $is_https ) {
* domain.
*/
if ( false === $domains_match ) {
$path = '';

/**
* Check to make sure Path is not just a forward slash and handle the
* URL reconstruction appropriately.
Expand Down

0 comments on commit 6cfb518

Please sign in to comment.