diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 7ae4ad5..2405ea1 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1983,7 +1983,7 @@ function drupal_pre_render_html(array $element) { $type = theme_get_setting('favicon.mimetype'); $element['#attached']['drupal_add_html_head_link'][][] = array( 'rel' => 'shortcut icon', - 'href' => Url::stripDangerousProtocols($favicon), + 'href' => UrlHelper::stripDangerousProtocols($favicon), 'type' => $type, ); }