From a1a764cbc92a0a03cb7f01ab760ebb9293ea3f1e Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 25 Mar 2012 12:53:17 +0000 Subject: [PATCH] Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465. git-svn-id: http://svn.automattic.com/wordpress/trunk@20288 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-ajax.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 28ba8b9009..b2f3541743 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -30,6 +30,8 @@ require_once( ABSPATH . 'wp-admin/includes/admin.php' ); require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); @header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); +@header( 'X-Robots-Tag: noindex' ); + send_nosniff_header(); do_action( 'admin_init' );