Remove redundancy. see #14288.
git-svn-id: https://develop.svn.wordpress.org/trunk@16928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a4d1e4c30
commit
be843f53d8
@ -228,7 +228,6 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
|
|||||||
if ( !empty( $addl_path ) )
|
if ( !empty( $addl_path ) )
|
||||||
$redirect['path'] = trailingslashit($redirect['path']) . $addl_path;
|
$redirect['path'] = trailingslashit($redirect['path']) . $addl_path;
|
||||||
$redirect_url = $redirect['scheme'] . '://' . $redirect['host'] . $redirect['path'];
|
$redirect_url = $redirect['scheme'] . '://' . $redirect['host'] . $redirect['path'];
|
||||||
$redirect['path'] = $redirect['path'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user