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