mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
Remove redundancy. see #14288.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec858cde06
commit
dd82562191
@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user