If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657.
git-svn-id: https://develop.svn.wordpress.org/trunk@21869 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e33241bef0
commit
29d8f1bad7
@ -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
Block a user