Ticket #14292: 14292.patch
File 14292.patch, 565 bytes (added by , 15 years ago) |
---|
-
wp-includes/canonical.php
341 341 $redirect_url .= '?' . $redirect['query']; 342 342 } 343 343 344 if ( !$redirect_url || $redirect_url == $requested_url)344 if ( !$redirect_url || strtolower( $redirect_url ) == strtolower( $requested_url ) ) 345 345 return false; 346 346 347 347 // Note that you can use the "redirect_canonical" filter to cancel a canonical redirect for whatever reason by returning FALSE