From a5ad001b736e11596852ddaf1a13f1b79574b731 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sat, 13 Feb 2010 08:29:55 +0000 Subject: [PATCH] s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948 git-svn-id: https://develop.svn.wordpress.org/trunk@13099 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/canonical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 7bbb0813c7..2ba8d150c7 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -271,7 +271,7 @@ function redirect_canonical($requested_url=null, $do_redirect=true) { } // Strip multiple slashes out of the URL - if ( strpos($original['path'], '//') > -1 ) + if ( strpos($redirect['path'], '//') > -1 ) $redirect['path'] = preg_replace('|/+|', '/', $redirect['path']); // Always trailing slash the Front Page URL