diff --git a/core/includes/theme.inc b/core/includes/theme.inc index de83cc3..fa0b23c 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -2089,11 +2089,11 @@ function theme_table($variables) { drupal_add_library('system', 'drupal.tableheader'); // Add 'sticky-enabled' class to the table to identify it for JS. // This is needed to target tables constructed by this function. - if (isset($table_attributes['class'])) { - $table_attributes['class'][] = 'sticky-enabled'; + if (isset($attributes['class'])) { + $attributes['class'][] = 'sticky-enabled'; } else { - $table_attributes['class'] = array('sticky-enabled'); + $attributes['class'] = array('sticky-enabled'); } } // If the table has headers and it should react responsively to columns hidden @@ -2103,11 +2103,11 @@ function theme_table($variables) { drupal_add_library('system', 'drupal.tableresponsive'); // Add 'responsive-enabled' class to the table to identify it for JS. // This is needed to target tables constructed by this function. - if (isset($table_attributes['class'])) { - $table_attributes['class'][] = 'responsive-enabled'; + if (isset($attributes['class'])) { + $attributes['class'][] = 'responsive-enabled'; } else { - $table_attributes['class'] = array('responsive-enabled'); + $attributes['class'] = array('responsive-enabled'); } } diff --git a/core/modules/block/templates/block.html.twig b/core/modules/block/templates/block.html.twig index 1fc3256..08eda19 100644 --- a/core/modules/block/templates/block.html.twig +++ b/core/modules/block/templates/block.html.twig @@ -26,7 +26,7 @@ * - logged_in: Flags true when the current user is a logged-in member. * - is_admin: Flags true when the current user is an administrator. * - * @TODO update include path once http://drupal.org/node/1777532 is resolved. + * @todo Update include path once http://drupal.org/node/1777532 is resolved. * * @see template_preprocess() * @see template_preprocess_container()