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.
By mfb on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.83
Issue links:
Description:
The drupal_add_html_head_link() function overwrites any duplicate links already added to the page. The hreflang attribute is now considered (in addition to the href and rel attributes) when determining if a link is a duplicate. This allows links with identical href attributes but different hreflang attributes to be added to the page.
Impacts:
Site builders, administrators, editors
Module developers