If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657.
git-svn-id: http://core.svn.wordpress.org/trunk@21869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a269ba85f7
commit
3a98eb10a1
|
@ -258,7 +258,7 @@ switch($step) {
|
|||
?>
|
||||
<p><?php _e( "Sorry, but I can't write the <code>wp-config.php</code> file." ); ?></p>
|
||||
<p><?php _e( 'You can create the <code>wp-config.php</code> manually and paste the following text into it.' ); ?></p>
|
||||
<textarea cols="98" rows="15" class="code"><?php
|
||||
<textarea cols="98" rows="15" class="code" readonly="readonly"><?php
|
||||
foreach( $config_file as $line ) {
|
||||
echo htmlentities($line, ENT_COMPAT, 'UTF-8');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue