Opt out of content sniffing for front end AJAX endpoint as well.

git-svn-id: https://develop.svn.wordpress.org/trunk@13640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-03-10 08:08:27 +00:00
parent cb3661a145
commit 314a35e0f8
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ define('DOING_AJAX', true);
require_once('wp-load.php');
@header('Content-Type: text/html; charset=' . get_option('blog_charset'));
send_nosniff_header();
do_action('ajax_init');