[wp-trac] [WordPress Trac] #19856: wp_get_referer() doesn't return false when the referer URL is the same as the current URL
WordPress Trac
noreply at wordpress.org
Mon Dec 28 11:58:28 UTC 2015
#19856: wp_get_referer() doesn't return false when the referer URL is the same as
the current URL
--------------------------------------+--------------------
Reporter: garyc40 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Bootstrap/Load | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------
Changes (by swissspidy):
* keywords: needs-patch needs-unit-tests => has-patch has-unit-tests
* milestone: Future Release => 4.5
Comment:
Patch needed a refresh because `wp_get_referer()` now uses
`wp_validate_redirect()` (see [25318] and #27152).
[attachment:19856.2.diff] is an updated patch accommodating for that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19856#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list