Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Steven commentedCommitted to HEAD. Thanks.
Comment #2
(not verified) CreditAttribution: commentedComment #3
(not verified) CreditAttribution: commentedComment #4
(not verified) CreditAttribution: commentedComment #5
(not verified) CreditAttribution: commented