[wp-trac] [WordPress Trac] #27152: wp_get_referer() no longer reports off-site referrers
WordPress Trac
noreply at wordpress.org
Tue Jan 12 08:20:37 UTC 2016
#27152: wp_get_referer() no longer reports off-site referrers
---------------------------------------------+-------------------------
Reporter: bpetty | Owner: swissspidy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Bootstrap/Load | Version: 3.6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Comment (by swissspidy):
[attachment:27152.4.diff] adds a note regarding `wp_get_referer()` in the
new function's docblock and always resets the super globals on `setUp()`.
Locally, tests suddenly failed because
`Tests_WP_Customize_Manager::test_return_url()` sets
`$_SERVER['HTTP_REFERER']`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27152#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list