Force UTF-8 in load-styles.php, like we do in load-scripts.php.

props iamfriendly, mjbanks.
fixes #25012.

git-svn-id: https://develop.svn.wordpress.org/trunk@27253 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-02-25 01:27:57 +00:00
parent 48bed22306
commit ef9c73e792

View File

@ -134,7 +134,7 @@ foreach( $load as $handle ) {
}
}
header('Content-Type: text/css');
header('Content-Type: text/css; charset=UTF-8');
header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
header("Cache-Control: public, max-age=$expires_offset");