[wp-trac] [WordPress Trac] #60371: get_home_path fails in headless mode.
WordPress Trac
noreply at wordpress.org
Wed Nov 19 08:40:50 UTC 2025
#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 | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by philipzimmerm56):
Note that get_home_path() is declared in wp-admin/includes/file.php which
is not included by default, except on admin pages when wp-
admin/includes/admin.php has been included.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60371#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list