WordPress.org

Make WordPress Core

Ticket #19454: 19454.charset-only.diff

File 19454.charset-only.diff, 446 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-admin/includes/template.php

     
    16731673}
    16741674
    16751675function _wp_admin_html_begin() {
     1676        header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
    16761677        $admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
    16771678?>
    16781679<!DOCTYPE html>