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.
This seems to be similar to a few other Bootstrap issues, but we hit a case where the value of $variables['attributes']['class']
coming into bootstrap_preprocess_picture
is sometimes a string instead of an array. This patch sanitises the class attribute the same way it's done in links.vars.php and other places in Bootstrap.
Comment | File | Size | Author |
---|---|---|---|
bootstrap--picture-class-string.patch | 616 bytes | geoffreyr | |
Comments
Comment #2
markhalliwell