WordPress.org

Make WordPress Core

Ticket #11821: 11821.diff

File 11821.diff, 819 bytes (added by Denis-de-Bernardy, 8 years ago)
  • wp-admin/setup-config.php

     
    1919/**
    2020 * Disable error reporting
    2121 *
    22  * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) f
    23 or debugging
     22 * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
    2423 */
    2524error_reporting(0);
    2625
     
    192191<p>You can create the <code>wp-config.php</code> manually and paste the following text into it.</p>
    193192<textarea cols="90" rows="15"><?php
    194193                foreach( $configFile as $line ) {
    195                         echo htmlentities($line);
     194                        echo htmlentities($line, ENT_COMPAT, 'UTF-8');
    196195                }
    197196?></textarea>
    198197<p>After you've done that, click "Run the install."</p>