Make WordPress Core

Changeset 27253


Ignore:
Timestamp:
02/25/2014 01:27:57 AM (10 years ago)
Author:
SergeyBiryukov
Message:

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

props iamfriendly, mjbanks.
fixes #25012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/load-styles.php

    r26374 r27253  
    135135}
    136136
    137 header('Content-Type: text/css');
     137header('Content-Type: text/css; charset=UTF-8');
    138138header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
    139139header("Cache-Control: public, max-age=$expires_offset");
Note: See TracChangeset for help on using the changeset viewer.