From 314a35e0f88c26511b36a07db16383f50de9caef Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Wed, 10 Mar 2010 08:08:27 +0000 Subject: [PATCH] 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 --- wp-ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-ajax.php b/wp-ajax.php index ae38391f56..ee7b25a75a 100644 --- a/wp-ajax.php +++ b/wp-ajax.php @@ -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');