Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

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

    r41289 r42343  
    3232 * If neither set of conditions is true, initiate loading the setup process.
    3333 */
    34 if ( file_exists( ABSPATH . 'wp-config.php') ) {
     34if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
    3535
    3636    /** The config file resides in ABSPATH */
     
    7373
    7474    // Die with an error message
    75     $die  = sprintf(
     75    $die = sprintf(
    7676        /* translators: %s: wp-config.php */
    7777        __( "There doesn't seem to be a %s file. I need this before we can get started." ),
     
    8888        '<code>wp-config.php</code>'
    8989    ) . '</p>';
    90     $die .= '<p><a href="' . $path . '" class="button button-large">' . __( "Create a Configuration File" ) . '</a>';
     90    $die .= '<p><a href="' . $path . '" class="button button-large">' . __( 'Create a Configuration File' ) . '</a>';
    9191
    9292    wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
Note: See TracChangeset for help on using the changeset viewer.