[wp-trac] [WordPress Trac] #21749: Wrong URL for theme screenshot

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 12:49:55 UTC 2012


#21749: Wrong URL for theme screenshot
--------------------------+-----------------------------
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Theme directory sometimes contains "space", I saw for example directory
 "Tuscan 1.0" etc. But in this case, screenshot in not shown on theme list
 (there is only icon of missing picture), because URL is transformed  and
 space stripped:

 {{{
 /wp-content/themes/Tuscan1.0/screenshot.png
 }}}

 I understand that it is not best practice, but it is regression (in WP
 3.3.x it worked well).

 Also, it would be better to show some simple default picture for themes
 without screenshot (for example "This theme has not screenshot yet")
 instead of grey place...

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


More information about the wp-trac mailing list