From be843f53d8cfacbf64b989144ee2f03adf7bfaad Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 14 Dec 2010 19:47:09 +0000 Subject: [PATCH] Remove redundancy. see #14288. git-svn-id: https://develop.svn.wordpress.org/trunk@16928 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/canonical.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 495db63ee8..78e2cb3f43 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -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']; } }