[wp-trac] [WordPress Trac] #60371: get_home_path fails in headless mode.
WordPress Trac
noreply at wordpress.org
Mon Jan 29 14:43:32 UTC 2024
#60371: get_home_path fails in headless mode.
--------------------------+-----------------------------
Reporter: fishpig | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The core get_home_path function is incorrect when in a headless mode and
siteurl and home are different.
The easy fix for this is to just add a filter to the return value so that
we can return ABSPATH
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60371>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list