mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
31e7a3234f
commit
28930c1e2e
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user