mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty.
See #49542. git-svn-id: https://develop.svn.wordpress.org/trunk@47855 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -752,7 +752,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
|
||||
// Protect against chained redirects.
|
||||
if ( ! redirect_canonical( $redirect_url, false ) ) {
|
||||
wp_redirect( $redirect_url, 301 );
|
||||
exit();
|
||||
exit;
|
||||
} else {
|
||||
// Debug.
|
||||
// die("1: $redirect_url<br />2: " . redirect_canonical( $redirect_url, false ) );
|
||||
|
||||
Reference in New Issue
Block a user