[wp-hackers] locale_stylesheet(): media 'screen' ?

Raphaël Droz raphael.droz at gmail.com
Thu May 6 13:25:09 UTC 2010


Hi,
I found that the theme.php locale_stylesheet() function
which is used to load the main style.css of a theme default to
media="screen".

It's a problem in some cases because if one wants to define 'print' css 
properties,
it has to add to be done in a new file to override it instead of simply 
add a @media screen {}
section in the original style.css.
I don't see many side-effects in making locale_stylesheet() defaults to 
'all'



More information about the wp-hackers mailing list