[drupal-devel] [bug] theme_add_style doesn't accommodate media type
Issue status update for http://drupal.org/node/27981 Post a follow up: http://drupal.org/project/comments/add/27981 Project: Drupal Version: cvs Component: theme system Category: bug reports Priority: normal Assigned to: robertDouglass Reported by: robertDouglass Updated by: robertDouglass Status: patch (code needs review) Attachment: http://drupal.org/files/issues/theme_add_style_media.txt (1.71 KB) 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. robertDouglass
participants (1)
-
robertDouglass