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
This commit is contained in:
nacin 2012-03-25 12:53:17 +00:00
parent 0730535015
commit a1a764cbc9
1 changed files with 2 additions and 0 deletions

View File

@ -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' );