[wp-trac] [WordPress Trac] #12274: get_themes() Support for gzipped style.css

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 15:34:07 UTC 2010


#12274: get_themes() Support for gzipped style.css
-----------------------------+----------------------------------------------
 Reporter:  stalkerX         |       Owner:                        
     Type:  feature request  |      Status:  new                   
 Priority:  low              |   Milestone:  3.0                   
Component:  Themes           |     Version:                        
 Severity:  normal           |    Keywords:  css, theme, stylesheet
-----------------------------+----------------------------------------------
 Please add support for style.css.gz and style.gz.css as theme default
 stylesheet file.

 Core file: theme.php[[BR]]
 Lines: 585 & 562

 Before:
 {{{
 if ( $theme_file == 'style.css' ) {
 }}}

 After:
 {{{
 if ( in_array($theme_file, array('style.css', 'style.css.gz',
 'style.gz.css')) ) {
 }}}

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


More information about the wp-trac mailing list