[wp-trac] [WordPress Trac] #46025: _json_wp_die_handler doesn't handle JSONP request
WordPress Trac
noreply at wordpress.org
Mon Jan 28 20:03:34 UTC 2019
#46025: _json_wp_die_handler doesn't handle JSONP request
------------------------------------------------+--------------------------
Reporter: spacedmonkey | Owner:
| spacedmonkey
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.1
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing servehappy | Focuses: multisite
------------------------------------------------+--------------------------
Comment (by spacedmonkey):
After feedback from @timothyblynjacobs I have added the following lines to
add extra headers.
{{{#!php
header( 'X-Content-Type-Options: nosniff' );
header( 'X-Robots-Tag: noindex' );
}}}
One fixes cors issue and one is SEO related.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46025#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list