Make WordPress Core

Ticket #43997: 43997.diff

File 43997.diff, 1.0 KB (added by johnbillion, 7 years ago)
  • src/wp-admin/setup-config.php

    diff --git src/wp-admin/setup-config.php src/wp-admin/setup-config.php
    index f09ecdf6f1..2382357d84 100644
    switch ( $step ) { 
    273273                $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try again' ) . '</a>';
    274274
    275275                if ( empty( $prefix ) ) {
    276                         wp_die( __( '<strong>ERROR</strong>: "Table Prefix" must not be empty.' . $tryagain_link ) );
     276                        wp_die( __( '<strong>ERROR</strong>: "Table Prefix" must not be empty.' ) . $tryagain_link );
    277277                }
    278278
    279279                // Validate $prefix: it can only contain letters, numbers and underscores.
    280280                if ( preg_match( '|[^a-z0-9_]|i', $prefix ) ) {
    281                         wp_die( __( '<strong>ERROR</strong>: "Table Prefix" can only contain numbers, letters, and underscores.' . $tryagain_link ) );
     281                        wp_die( __( '<strong>ERROR</strong>: "Table Prefix" can only contain numbers, letters, and underscores.' ) . $tryagain_link );
    282282                }
    283283
    284284                // Test the db connection.