WP reverts to default theme on file access collision
|Reported by:||_ck_||Owned by:||anonymous|
There is still no fix addressed to the problem on heavily accessed systems where the theme can revert back to default.
This apparently happens if the "file_exists" test in theme.php fails under any of a few different functions? PHP manual shows that "file_exists" can fail if a theme file is being replaced at the time or certain conditions occur under php safe mode.
One way to reproduce this bug consistently is to upload "style.css" repeatedly while a site is active.
I'd like to suggest that "file_exists" be replaced with a custom function that does at least a few retries over an adjustable time (a second or so) before completely giving up and reverting.
Change History (14)
comment:12 lloydbudd — 6 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from 2.5 to 2.4