Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
26ade42134
commit
28677c6b00
|
@ -19,8 +19,7 @@ define('WP_INSTALLING', true);
|
||||||
/**
|
/**
|
||||||
* Disable error reporting
|
* Disable error reporting
|
||||||
*
|
*
|
||||||
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) f
|
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
|
||||||
or debugging
|
|
||||||
*/
|
*/
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
|
||||||
|
@ -192,7 +191,7 @@ switch($step) {
|
||||||
<p>You can create the <code>wp-config.php</code> manually and paste the following text into it.</p>
|
<p>You can create the <code>wp-config.php</code> manually and paste the following text into it.</p>
|
||||||
<textarea cols="90" rows="15"><?php
|
<textarea cols="90" rows="15"><?php
|
||||||
foreach( $configFile as $line ) {
|
foreach( $configFile as $line ) {
|
||||||
echo htmlentities($line);
|
echo htmlentities($line, ENT_COMPAT, 'UTF-8');
|
||||||
}
|
}
|
||||||
?></textarea>
|
?></textarea>
|
||||||
<p>After you've done that, click "Run the install."</p>
|
<p>After you've done that, click "Run the install."</p>
|
||||||
|
|
Loading…
Reference in New Issue