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.
When clearing the theme registry, Drush directly clears records from the cache database table, instead of using the cache clearing API. This results in a failure to clear alternative caches such as memcache when the command is called. drupal_theme_rebuild()
clears the registry correctly.
Comment | File | Size | Author |
---|---|---|---|
#1 | drush-theme-rebuild-1704678-1.patch | 634 bytes | jrbeeman |
Comments
Comment #1
jrbeemanThe attached patch addresses this issue by calling drupal_theme_rebuild() if Drupal is at least version 7.
Comment #2
jonhattanCommitted. Thanks!