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-admin/includes/class-wp-importer.php

    r47219 r47855  
    135135            if ( ! $parsed || empty( $parsed['host'] ) ) {
    136136                fwrite( STDERR, "Error: can not determine blog_id from $blog_id\n" );
    137                 exit();
     137                exit;
    138138            }
    139139            if ( empty( $parsed['path'] ) ) {
     
    149149            if ( ! $blogs ) {
    150150                fwrite( STDERR, "Error: Could not find blog\n" );
    151                 exit();
     151                exit;
    152152            }
    153153            $blog    = array_shift( $blogs );
     
    177177        if ( ! $user_id || ! wp_set_current_user( $user_id ) ) {
    178178            fwrite( STDERR, "Error: can not find user\n" );
    179             exit();
     179            exit;
    180180        }
    181181
     
    328328        // Display message and exit.
    329329        echo "\"$param\" parameter is required but was not specified\n";
    330         exit();
     330        exit;
    331331    }
    332332
Note: See TracChangeset for help on using the changeset viewer.