Skip to content

Commit

Permalink
Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fi…
Browse files Browse the repository at this point in the history
…xes #18465.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
nacin committed Mar 25, 2012
1 parent 0730535 commit a1a764c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-admin/admin-ajax.php
Expand Up @@ -30,6 +30,8 @@
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' );
Expand Down

0 comments on commit a1a764c

Please sign in to comment.