WordPress.org

Make WordPress Core

Ticket #52254: 52254.diff

File 52254.diff, 1008 bytes (added by mukesh27, 10 months ago)
  • wp-load.php

    diff --git a/wp-load.php b/wp-load.php
    index 3f4d764bfc..2557df8a40 100644
    a b if ( file_exists( ABSPATH . 'wp-config.php' ) ) { 
    7272        wp_load_translations_early();
    7373
    7474        // Die with an error message
    75         $die = sprintf(
     75        $die = '<p>' . 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." ),
    7878                '<code>wp-config.php</code>'
    if ( file_exists( ABSPATH . 'wp-config.php' ) ) { 
    8787                __( "You can create a %s file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ),
    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></p>';
    9191
    9292        wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
    9393}