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.
Other modules can override $vars['styles'] after unlimited_css_preprocess_page() has run. If this happens, unlimited_css does not work.
Solution:
- Put a copy of the rebuilt $vars['styles'] into $vars['styles_unlimited_css']. We can assume that the latter will not be killed by other modules.
- Custom themes can now use this value instead of $vars['styles'].
Comments
Comment #1
donquixote CreditAttribution: donquixote commentedFixed in next -dev. Please have a look.