Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r45932 r47122  
    5656}
    5757
    58 // Check if wp-config.php has been created
     58// Check if wp-config.php has been created.
    5959if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
    6060    wp_die(
     
    6868}
    6969
    70 // Check if wp-config.php exists above the root directory but is not part of another installation
     70// Check if wp-config.php exists above the root directory but is not part of another installation.
    7171if ( @file_exists( ABSPATH . '../wp-config.php' ) && ! @file_exists( ABSPATH . '../wp-settings.php' ) ) {
    7272    wp_die(
     
    116116<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    117117    <?php
    118 } // end function setup_config_display_header();
     118} // End function setup_config_display_header();
    119119
    120120$language = '';
     
    287287        }
    288288
    289         // Test the db connection.
     289        // Test the DB connection.
    290290        /**#@+
    291291         *
Note: See TracChangeset for help on using the changeset viewer.