Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57670, comment 10


Ignore:
Timestamp:
05/14/2023 05:04:02 PM (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57670, comment 10

    initial v1  
    55> My understanding is that `_wp_http_referer`, like `HTTP_REFERER`, should always be a string.
    66
    7 Yep, that's right. As far as I know `_wp_http_referer` is intended as a replacement for `HTTP_REFERER` and is used for redirects (in combination with `wp_safe_redirect()`). It can either be a string or not set.
     7Yep, that's right. As far as I know `_wp_http_referer` is intended as a replacement/override for `HTTP_REFERER` and is used for redirects (in combination with `wp_safe_redirect()`). It can either be a string or not set.