[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 12:01:56 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:
--------------------------------------+--------------------
Comment (by nacin):
This patch wold suggest that this condition is *never* hit.
`wp_get_referer()` likely sometimes sees a root-relative referrer, no?
That would imply we should add to this, not replace.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19856#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list