mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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:
@@ -282,11 +282,11 @@ function wpmu_admin_do_redirect( $url = '' ) {
|
||||
if ( $ref ) {
|
||||
$ref = wpmu_admin_redirect_add_updated_param( $ref );
|
||||
wp_redirect( $ref );
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
if ( ! empty( $_SERVER['HTTP_REFERER'] ) ) {
|
||||
wp_redirect( $_SERVER['HTTP_REFERER'] );
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
|
||||
$url = wpmu_admin_redirect_add_updated_param( $url );
|
||||
@@ -299,7 +299,7 @@ function wpmu_admin_do_redirect( $url = '' ) {
|
||||
$url = wpmu_admin_redirect_add_updated_param( $_POST['redirect'] );
|
||||
}
|
||||
wp_redirect( $url );
|
||||
exit();
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user