we call theme_add_style with just a path even though it eventually triggers theme_stylesheet_import which accepts a parameter to specify media. The assumption that all stylesheets added with theme_add_style want to be media="all" is false. Patch adds the $media parameter and unifies variable naming between the two functions.
| Comment | File | Size | Author |
|---|---|---|---|
| theme_add_style_media.txt | 1.71 KB | robertdouglass |
Comments
Comment #1
Steven commentedCommitted to HEAD. Thanks.
Comment #2
(not verified) commentedComment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
(not verified) commented