mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user