[wp-trac] [WordPress Trac] #12622: $table_prefix should be validated upon entry

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 17 06:02:24 UTC 2010


#12622: $table_prefix should be validated upon entry
-----------------------------+----------------------------------------------
 Reporter:  johnl1479        |       Owner:  dd32      
     Type:  defect (bug)     |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  Upgrade/Install  |     Version:  3.0       
 Severity:  normal           |    Keywords:            
-----------------------------+----------------------------------------------
 It appears that $table_prefix is validated to only contain letters,
 numbers, and underscores.

 However, the user is not made aware of this requirement until after the
 wp-config file has been created.

 If the user tries to enter a hyphen or other non-acceptable character,
 they should be alerted to this and be able to fix it before wp-config is
 generated.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12622>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list