Changeset 47156 for trunk/src/wp-admin/setup-config.php
- Timestamp:
- 02/01/2020 09:36:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/setup-config.php
r47122 r47156 279 279 280 280 if ( empty( $prefix ) ) { 281 wp_die( __( '<strong>E RROR</strong>: "Table Prefix" must not be empty.' ) . $tryagain_link );281 wp_die( __( '<strong>Error</strong>: "Table Prefix" must not be empty.' ) . $tryagain_link ); 282 282 } 283 283 284 284 // Validate $prefix: it can only contain letters, numbers and underscores. 285 285 if ( preg_match( '|[^a-z0-9_]|i', $prefix ) ) { 286 wp_die( __( '<strong>E RROR</strong>: "Table Prefix" can only contain numbers, letters, and underscores.' ) . $tryagain_link );286 wp_die( __( '<strong>Error</strong>: "Table Prefix" can only contain numbers, letters, and underscores.' ) . $tryagain_link ); 287 287 } 288 288 … … 317 317 if ( ! $wpdb->last_error ) { 318 318 // MySQL was able to parse the prefix as a value, which we don't want. Bail. 319 wp_die( __( '<strong>E RROR</strong>: "Table Prefix" is invalid.' ) );319 wp_die( __( '<strong>Error</strong>: "Table Prefix" is invalid.' ) ); 320 320 } 321 321
Note: See TracChangeset
for help on using the changeset viewer.