Plugins fail if default theme does not exist
|Reported by:||drewrockshard||Owned by:||anonymous|
Upon restoring a site, I delete everything from wp-content/themes directory. This includes "default" and "classic" themes. Then I upload my design. Well, I did this today with the 2.0.6 release and it failed. It uploaded fine. When I went to the "Presentation" tab to view the currently installed theme, it just say "By" ... nothing else. Also, if I try clicking on "Theme Editor", it says something like "Theme does not exist in this directory"...
So, I thought it could have been a bad xfer (FTP), so I reverted to my backups. Those didn't work either. So I reverted to other backups, didn't work. Tried a few install of wordpress on a separate directory, still got the "By" issue.
So, what I did this time was I uploaded my theme (still getting the "by" prob) ... and then uploaded the "default" theme. It them worked, showed my screenshot of my theme and everything. Then I removed the "default" theme from the server (via FTP) ... and it was fine. So it seems this only happens when you initialling install wordpress without the "default" theme, but you can delete the "default" theme once it registers with wordpress and sees that the default theme "was" there.
I don't quite know how the core code works, as I'm my own developer and haven't actually really dug through the code, myself.
Maybe its just me, maybe not.
Change History (4)
- Keywords needs-patch added; templates removed
- Priority changed from normal to lowest
- Severity changed from major to minor