[wp-trac] [WordPress Trac] #47711: noindex, wp_die and admin-ajax.php
WordPress Trac
noreply at wordpress.org
Tue Jul 16 13:23:50 UTC 2019
#47711: noindex, wp_die and admin-ajax.php
-------------------------------------+-------------------------------------
Reporter: harryfear | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Administration | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch good-first- | Focuses: administration, rest-
bug | api
-------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):
* keywords: => needs-patch good-first-bug
* version: 5.2.2 => 3.4
* component: General => Administration
* milestone: Awaiting Review => 5.3
Comment:
Hi @harryfear, welcome to WordPress Trac! Thanks for the report.
Yes, apparently the header should be sent earlier, after
`send_origin_headers()`, so that it applies before `wp_die()` as well.
For reference, the current line was introduced [20288].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47711#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list