Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx #3278924 by lamp5, DamienMcKenna: Translation of title metatag is limited to 128 characters. #3271284 by Shashwat Purav: Double occurrences of word "the". #3257520 by er.garg.karan, DamienMcKenna: Default Drupal favicon icon on core before 9.3. Metatag 8.x-1.19, 2022-01-06 Loading metatag_favicons/metatag_favicons.module +2 −2 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ function metatag_favicons_page_attachments_alter(array &$attachments) { } // Remove the default shortcut icon if one was set by Metatag. $valid_meta_tags = ['shortcut_icon', 'icon']; $valid_meta_tags = ['shortcut icon', 'shortcut_icon', 'icon']; foreach ($attachments['#attached']['html_head'] as $element) { if (isset($element[1]) && in_array($element[1], ['shortcut_icon', 'icon'])) { if (isset($element[1]) && in_array($element[1], $valid_meta_tags)) { foreach ($attachments['#attached']['html_head_link'] as $key => $value) { if (isset($value[0]['rel']) && in_array($value[0]['rel'], $valid_meta_tags)) { unset($attachments['#attached']['html_head_link'][$key]); Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx #3278924 by lamp5, DamienMcKenna: Translation of title metatag is limited to 128 characters. #3271284 by Shashwat Purav: Double occurrences of word "the". #3257520 by er.garg.karan, DamienMcKenna: Default Drupal favicon icon on core before 9.3. Metatag 8.x-1.19, 2022-01-06 Loading
metatag_favicons/metatag_favicons.module +2 −2 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ function metatag_favicons_page_attachments_alter(array &$attachments) { } // Remove the default shortcut icon if one was set by Metatag. $valid_meta_tags = ['shortcut_icon', 'icon']; $valid_meta_tags = ['shortcut icon', 'shortcut_icon', 'icon']; foreach ($attachments['#attached']['html_head'] as $element) { if (isset($element[1]) && in_array($element[1], ['shortcut_icon', 'icon'])) { if (isset($element[1]) && in_array($element[1], $valid_meta_tags)) { foreach ($attachments['#attached']['html_head_link'] as $key => $value) { if (isset($value[0]['rel']) && in_array($value[0]['rel'], $valid_meta_tags)) { unset($attachments['#attached']['html_head_link'][$key]); Loading