Skip to content
Snippets Groups Projects
Commit 5489967f authored by Georg Ringer's avatar Georg Ringer
Browse files

[BUGFIX] Set property hreflang of SiteLanguage to empty string

By defining `$hreflang` of SiteLanguage to an empty string instead of
'en-US' wrong hreflang tags are avoided in the frontend.

Even though the field is set to required there are usecases where this
field is not set, e.g. by changing the site configuration manually. This
would have lead to hreflang tags pointing to a valid site but with a
wrong hreflang information.

Resolves: #92418
Releases: master
Change-Id: I042c275a2b107cac48a877c7e4043f69e378347d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65888


Tested-by: default avatarRichard Haeser <richard@richardhaeser.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 111b47c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment