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 7.x-1.x branch contained a feature that allowed to register theme preprocess functions in render arrays.
This feature was (probably) not used by most websites, and it was not performance-neutral.
Changes to '#theme' => 'themekit_item_containers':
Originally, if $element['#item_tag_name'] was not set, there would be no wrapper element. Instead, the items would be simply concatenated with implode('', $slices).
Now, the item tag name defaults to 'div' if not explicitly set.
To disable the wrapping, one needs to set $element['#item_tag_name'] = false.