Changeset 45650
- Timestamp:
- 07/17/2019 01:10:59 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/admin-ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-ajax.php
r45611 r45650 25 25 send_origin_headers(); 26 26 27 header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); 28 header( 'X-Robots-Tag: noindex' ); 29 27 30 // Require an action parameter 28 31 if ( empty( $_REQUEST['action'] ) ) { … … 35 38 /** Load Ajax Handlers for WordPress Core */ 36 39 require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' ); 37 38 header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );39 header( 'X-Robots-Tag: noindex' );40 40 41 41 send_nosniff_header();
Note: See TracChangeset
for help on using the changeset viewer.