[wp-trac] [WordPress Trac] #18180: Missing i18n in setup-config.php

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 29 23:10:00 UTC 2011


#18180: Missing i18n in setup-config.php
----------------------------+-----------------------
 Reporter:  CoenJacobs      |       Owner:  nacin
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  3.4
Component:  I18N            |     Version:  3.2.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by dd32):

 > 18180.5.diff  makes setup-config.php agnostic to the default values for
 the various constants, such as "database_name_here", "password_here", and
 "put your unique phrase here".

 Looks good/sane to me, I was thinking we might want to make the expression
 a bit more accepting, but i'm not entirely sure it'll be needed at all:

 {{{
 if ( ! preg_match( '/^define\(\s*[\'"]([A-Z_]+)[\'"]\s*,([ ]+)/', $line,
 $match ) )
 }}}

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


More information about the wp-trac mailing list