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.
In previous versions of views, CSS classes were converted to lowercase. Line 142 of views_plugin_style.inc used to call drupal_html_class which has the following line in it:
$classes[$class] = drupal_clean_css_identifier(drupal_strtolower($class));
Now that the views module is calling drupal_clean_css_identifier
directly, identifiers are making it through with capitalization, which breaks existing CSS code. The code should instead read:
$class = drupal_clean_css_identifier(strtolower($class));
This avoids unintended breakage.
Comment | File | Size | Author |
---|---|---|---|
views_class_render_fix.patch | 1.96 KB | davidfells81@gmail.com | |
Comments
Comment #2
TR CreditAttribution: TR commentedThere's a patch, so this should be "Needs review"