WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2010 09:41:33 PM (10 years ago)
Author:
westi
Message:

Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r13360 r13409  
    2222require_once('includes/admin.php');
    2323@header('Content-Type: text/html; charset=' . get_option('blog_charset'));
     24send_nosniff_header();
    2425
    2526do_action('admin_init');
Note: See TracChangeset for help on using the changeset viewer.