WordPress.org

Make WordPress Core

Changeset 12663


Ignore:
Timestamp:
01/08/2010 06:40:00 PM (11 years ago)
Author:
ryan
Message:

Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r12238 r12663  
    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);
     
    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>
Note: See TracChangeset for help on using the changeset viewer.