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/index-extra.php

    r12869 r13409  
    1414
    1515@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
     16send_nosniff_header();
    1617
    1718switch ( $_GET['jax'] ) {
Note: See TracChangeset for help on using the changeset viewer.