Skip to content


Wordpress Bug – Theme Reverts to Default Theme

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

Posted in PHP.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.