diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index ae4cac572b..2e90c22ca8 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -61,8 +61,10 @@ function redirect_canonical($requested_url=null, $do_redirect=true) { $redirect_url = false; // Notice fixing - if ( !isset($redirect['path']) ) $redirect['path'] = ''; - if ( !isset($redirect['query']) ) $redirect['query'] = ''; + if ( !isset($redirect['path']) ) + $redirect['path'] = ''; + if ( !isset($redirect['query']) ) + $redirect['query'] = ''; if ( is_singular() && 1 > $wp_query->post_count && ($id = get_query_var('p')) ) {