Remove redundancy. see #14288.

git-svn-id: https://develop.svn.wordpress.org/trunk@16928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-14 19:47:09 +00:00
parent 9a4d1e4c30
commit be843f53d8
1 changed files with 0 additions and 1 deletions

View File

@ -228,7 +228,6 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
if ( !empty( $addl_path ) )
$redirect['path'] = trailingslashit($redirect['path']) . $addl_path;
$redirect_url = $redirect['scheme'] . '://' . $redirect['host'] . $redirect['path'];
$redirect['path'] = $redirect['path'];
}
}