I have been working on a new Wordpress theme for this site and have noticed on several occasions that Wordpress has reverted back to the default theme.
Google turned up a few helpful pages:
- Wordpress Theme Resetting Problem posted by Scott Burkett
- Wordpress defect #3907
The problem boiled down to the fact that I was editing the file remotely via SFTP. If I happened to save the file at same time as someone was trying to access a page it the file exists check would fail as there is always a split second while the file is being saved that it technically doesn’t exist. The code suggested in the bug report above worked well for me.
Popularity: 17% [?]
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.