[wp-trac] [WordPress Trac] #3543: Plugins fail if default theme does not exist

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 9 11:04:09 GMT 2007


#3543: Plugins fail if default theme does not exist
---------------------------+------------------------------------------------
 Reporter:  drewrockshard  |       Owner:  anonymous
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  2.2      
Component:  Template       |     Version:  2.0.6    
 Severity:  major          |    Keywords:  templates
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3543>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list