WordPress.org

Make WordPress Core

Ticket #42036: 42036.diff

File 42036.diff, 475 bytes (added by joostdevalk, 22 months ago)

Patch

  • wp-admin/admin-header.php

     
    66 * @subpackage Administration
    77 */
    88
     9@header( 'Referrer-Policy: same-origin' );
    910@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    1011if ( ! defined( 'WP_ADMIN' ) )
    1112        require_once( dirname( __FILE__ ) . '/admin.php' );