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.
The feature that adds a "Rebuild theme registry on every page" checkbox to the theme settings page works.
But while it correctly only fires off a theme registry rebuild once per page request, it mistakenly warns the user an additional number-of-levels-of-basetheme times.
In other words, if you have a subtheme of zen, it will display the warning twice. If you have 3 levels of base/sub themes, you'll get 3 warnings.
I mistakenly only tested this feature on the base theme. And not in a subtheme. Ooops.
Comment | File | Size | Author |
---|---|---|---|
#3 | zen_rebuild_message.patch | 687 bytes | scottrigby |
Comments
Comment #1
JohnAlbinEasily fixed.
http://cvs.drupal.org/viewvc.py/drupal/contributions/themes/zen/zen/temp...
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
scottrigbyJohn, thanks for this. Works really nicely!
I'm adding a patch, in case this is helpful.
(It's your code, so not sure if 'code needs review', but this is the first patch I've made on my mac, so please let me know if there's any issue with format, etc).
Cheers :)
Scott
Comment #4
scottrigbyThere are instances even after this patch - such as after logging in, or saving a node - where the message still shows up twice...