WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2020 09:35:34 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty.

See #49542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r47771 r47855  
    1616    if ( 0 === strpos( $_SERVER['REQUEST_URI'], 'http' ) ) {
    1717        wp_safe_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) );
    18         exit();
     18        exit;
    1919    } else {
    2020        wp_safe_redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
    21         exit();
     21        exit;
    2222    }
    2323}
     
    757757
    758758        wp_safe_redirect( wp_get_referer() );
    759         exit();
     759        exit;
    760760
    761761    case 'logout':
     
    793793
    794794        wp_safe_redirect( $redirect_to );
    795         exit();
     795        exit;
    796796
    797797    case 'lostpassword':
     
    803803                $redirect_to = ! empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : 'wp-login.php?checkemail=confirm';
    804804                wp_safe_redirect( $redirect_to );
    805                 exit();
     805                exit;
    806806            }
    807807        }
     
    10371037        if ( ! get_option( 'users_can_register' ) ) {
    10381038            wp_redirect( site_url( 'wp-login.php?registration=disabled' ) );
    1039             exit();
     1039            exit;
    10401040        }
    10411041
     
    10571057                $redirect_to = ! empty( $_POST['redirect_to'] ) ? $_POST['redirect_to'] : 'wp-login.php?checkemail=registered';
    10581058                wp_safe_redirect( $redirect_to );
    1059                 exit();
     1059                exit;
    10601060            }
    10611061        }
Note: See TracChangeset for help on using the changeset viewer.