Description of the need
Since 1.27.0 added the 'wrapper_attributes'
parameter in the $variable
array in core/includes/theme.inc > function theme_item_list($variables)
. We should check the existence of this parameter if we want backward compatibility for the contrib modules.
Proposed solution
Now:
function theme_item_list($variables) {
...
$wrapper_attributes = $variables['wrapper_attributes'];
Fixed:
$wrapper_attributes = isset($variables['wrapper_attributes']) ? $variables['wrapper_attributes'] : array();
Additional information
Similar situation with the 'empty'
parameter since 1.21.0.
$empty= isset($variables['empty']) ? $variables['empty'] : '';
GitHub Issue #:
6398
Recent comments
@JoeMaine - One of the things I used to like about Zen, was that it came bundled with SASS starter kits that were easy for me to use. I believe that there might be one or two Backdrop CMS...
Themes: anything like ZEN?
@joemaine Cards are the only core content type that are configured to "Hide path display". This means that any Card nodes will not be accessible via a normal path to...
Themes: anything like ZEN?
The info at that doc page did not work, i.e. just adding AllowOverride All did not enable clean URLs on my site. I had to add another directive to my local httpd config directory to get...
most site pages giving 404 after system reinstall