Make WordPress Core


Ignore:
Timestamp:
05/03/2010 08:26:11 PM (17 years ago)
Author:
ryan
Message:

Strip trailing whites.

File:
1 edited

Legend:

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

    r14363 r14404  
    161161                $prefix = 'wp_';
    162162
    163         // Validate $prefix: it can only contain letters, numbers and underscores 
    164         if ( preg_match( '|[^a-z0-9_]|i', $prefix ) ) 
    165                 wp_die( /*WP_I18N_BAD_PREFIX*/'<strong>ERROR</strong>: "Table Prefix" can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/ ); 
     163        // Validate $prefix: it can only contain letters, numbers and underscores
     164        if ( preg_match( '|[^a-z0-9_]|i', $prefix ) )
     165                wp_die( /*WP_I18N_BAD_PREFIX*/'<strong>ERROR</strong>: "Table Prefix" can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/ );
    166166
    167167        // Test the db connection.
Note: See TracChangeset for help on using the changeset viewer.