get_home_path() fails when home url and site url differ in case
|Reported by:||Denis-de-Bernardy||Owned by:||dd32|
If you set your blog's url and site url to the same thing, albeit with differing caps, get_home_path() returns / instead of ABSPATH.
We should probably sanitize/lowercase the two. I've a user who was reporting the weirdest error related to an open_basedir restriction. No wonder it was returning errors...
Change History (15)
comment:14 dd32 — 17 months ago
- Owner set to dd32
- Resolution set to fixed
- Status changed from assigned to closed