WordPress Bug – Theme Reverts to Default Theme

by damonp on June 23, 2007

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:

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: 1% [?]

Leave a Comment

Previous post:

Next post: