[wp-trac] [WordPress Trac] #18599: If child theme is missing a screenshot, use the parent theme's screenshot

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 6 02:49:43 UTC 2011


#18599: If child theme is missing a screenshot, use the parent theme's screenshot
----------------------------+------------------------------
 Reporter:  Viper007Bond    |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by Viper007Bond):

 My patch was originally similar to Sergey's, but the issue is that the
 child theme and parent theme don't have to be in the same folder so
 `$theme_root` can vary between the two.

 It has to go off of both `$stylesheet_dir` and `$template_dir`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18599#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list