Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx 1,024 characters. #3202865 by stmh, DamienMcKenna: logic in generateRawElements does not work with hreflangs. #2941632 by bgilhome, rokzabukovec, DamienMcKenna, yannickoo, thejimbirch: og:latitude/longitude have been replaced by place:location:latitude/longitude. Metatag 8.x-1.15, 2020-12-05 Loading metatag_open_graph/src/Plugin/metatag/Tag/OgLatitude.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase; * id = "og_latitude", * label = @Translation("Latitude"), * description = @Translation(""), * name = "og:latitude", * name = "place:location:latitude", * group = "open_graph", * weight = 16, * type = "string", Loading metatag_open_graph/src/Plugin/metatag/Tag/OgLongitude.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase; * id = "og_longitude", * label = @Translation("Longitude"), * description = @Translation(""), * name = "og:longitude", * name = "place:location:longitude", * group = "open_graph", * weight = 16, * type = "string", Loading metatag_open_graph/tests/src/Functional/MetatagOpenGraphTagsTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,13 @@ class MetatagOpenGraphTagsTest extends MetatagTagsTestBase { * Each of these meta tags has a different tag name vs its internal name. */ protected function getTestTagName($tag_name) { if ($tag_name == 'og_latitude') { $tag_name = 'place:location:latitude'; } elseif ($tag_name == 'og_longitude') { $tag_name = 'place:location:longitude'; } // Replace the first underline with a colon. $tag_name = str_replace('og_', 'og:', $tag_name); $tag_name = str_replace('article_', 'article:', $tag_name); Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ Metatag 8.x-1.x-dev, xxxx-xx-xx 1,024 characters. #3202865 by stmh, DamienMcKenna: logic in generateRawElements does not work with hreflangs. #2941632 by bgilhome, rokzabukovec, DamienMcKenna, yannickoo, thejimbirch: og:latitude/longitude have been replaced by place:location:latitude/longitude. Metatag 8.x-1.15, 2020-12-05 Loading
metatag_open_graph/src/Plugin/metatag/Tag/OgLatitude.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase; * id = "og_latitude", * label = @Translation("Latitude"), * description = @Translation(""), * name = "og:latitude", * name = "place:location:latitude", * group = "open_graph", * weight = 16, * type = "string", Loading
metatag_open_graph/src/Plugin/metatag/Tag/OgLongitude.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use Drupal\metatag\Plugin\metatag\Tag\MetaPropertyBase; * id = "og_longitude", * label = @Translation("Longitude"), * description = @Translation(""), * name = "og:longitude", * name = "place:location:longitude", * group = "open_graph", * weight = 16, * type = "string", Loading
metatag_open_graph/tests/src/Functional/MetatagOpenGraphTagsTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,13 @@ class MetatagOpenGraphTagsTest extends MetatagTagsTestBase { * Each of these meta tags has a different tag name vs its internal name. */ protected function getTestTagName($tag_name) { if ($tag_name == 'og_latitude') { $tag_name = 'place:location:latitude'; } elseif ($tag_name == 'og_longitude') { $tag_name = 'place:location:longitude'; } // Replace the first underline with a colon. $tag_name = str_replace('og_', 'og:', $tag_name); $tag_name = str_replace('article_', 'article:', $tag_name); Loading