Fix lang parameter being set in $canonical_query during alt_link iteration
This commit is contained in:
@ -186,4 +186,5 @@ function alt_links(): void
|
||||
echo '<link rel="alternate" href="'.$link.'" hreflang="'.$lang.'" />';
|
||||
echo '<meta property="og:locale:alternate" content="'.$data['locale'].'">';
|
||||
}
|
||||
unset($canonical_query['lang']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user