From 28930c1e2eb5895b75253d63b70512bd3ffdd62e Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@13640 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-ajax.php b/wp-ajax.php index ae38391f5..ee7b25a75 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');