Make WordPress Core


Ignore:
Timestamp:
05/09/2018 10:51:37 PM (4 years ago)
Author:
johnbillion
Message:

Upgrade/Install: Correctly internationalise error messages during config setup.

Fixes #43997

File:
1 edited

Legend:

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

    r42827 r43205  
    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
Note: See TracChangeset for help on using the changeset viewer.