Changeset 13409
- Timestamp:
- 02/25/2010 09:41:33 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r13360 r13409 22 22 require_once('includes/admin.php'); 23 23 @header('Content-Type: text/html; charset=' . get_option('blog_charset')); 24 send_nosniff_header(); 24 25 25 26 do_action('admin_init'); -
trunk/wp-admin/includes/misc.php
r13382 r13409 650 650 return true; 651 651 } 652 653 /** 654 * Send a HTTP header to disable content type sniffing in browsers which support it. 655 * 656 * @link http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx 657 * @link http://src.chromium.org/viewvc/chrome?view=rev&revision=6985 658 * 659 * @since 3.0.0. 660 * @return none 661 */ 662 function send_nosniff_header() { 663 @header( 'X-Content-Type-Options: nosniff' ); 664 } 652 665 ?> -
trunk/wp-admin/index-extra.php
r12869 r13409 14 14 15 15 @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); 16 send_nosniff_header(); 16 17 17 18 switch ( $_GET['jax'] ) {
Note: See TracChangeset
for help on using the changeset viewer.