Silverstripe-SEO icon indicating copy to clipboard operation
Silverstripe-SEO copied to clipboard

SEOAdmin - OGLocale incorrectly shows as Locale of logged in user

Open christopherdarling opened this issue 2 years ago • 0 comments

Website Locale: en_GB Admin user Locale: en_US

Page record has no OGLocale value set so falls back on i18n::get_locale() which picks up the logged in users locale (en_US) rather than the default that the site will be running in on the frontend for visitors.

christopherdarling avatar Jan 25 '23 04:01 christopherdarling