[wp-trac] [WordPress Trac] #8548: Theme preview fails when theme in subdirectory

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 9 21:12:42 GMT 2008


#8548: Theme preview fails when theme in subdirectory
-----------------------+----------------------------------------------------
 Reporter:  zedlander  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  normal     |   Milestone:  2.8      
Component:  General    |     Version:           
 Severity:  normal     |    Keywords:           
-----------------------+----------------------------------------------------
 I have a folder called dreamhost in my themes directory.  All the themes
 display and can be activated properly, but the preview is broken, only
 showing a white page.  This is because the preview_theme function is
 stripping out '/', changing 'dreamhost/classic' to 'dreamhostclassic',
 which then fails.  Patch is attached.

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


More information about the wp-trac mailing list