Ticket #29727: 29727.2.diff
File 29727.2.diff, 408 bytes (added by , 9 years ago) |
---|
-
wp-includes/class-wp.php
437 437 } 438 438 } 439 439 440 if ( is_ssl() ) { 441 $headers['Content-Security-Policy'] = 'upgrade-insecure-requests'; 442 } 443 444 440 445 /** 441 446 * Filter the HTTP headers before they're sent to the browser. 442 447 *