[wp-trac] [WordPress Trac] #19970: Self-created config file allows invalid table prefix

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 8 03:05:43 UTC 2012


#19970: Self-created config file allows invalid table prefix
-----------------------------+---------------------
 Reporter:  rmarks           |       Owner:  rmarks
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Upgrade/Install  |     Version:  3.3.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+---------------------
Changes (by SergeyBiryukov):

 * component:  General => Upgrade/Install
 * milestone:  Awaiting Review => 3.4


Comment:

 Replying to [comment:3 nacin]:
 > So we don't tank existing installs, this should only prevent it on
 install.php.

 [attachment:19970.2.diff] is the patch for `install.php`. Also adds some
 whitespace as per coding standards.

 Replying to [comment:4 kurtpayne]:
 > Should the prefix also be run through `strtolower()`?  Related #19748

 I guess we should remove `strtolower()` in #19748.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19970#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list