Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPrimarySiteLocale() returns the first site's locale, not the primary #3063

Closed
lukeyouell opened this issue Jul 4, 2018 · 0 comments
Closed

Comments

@lukeyouell
Copy link

Description

getPrimarySiteLocale() returns the locale of the first site rather than that of the primary site.

https://github.com/craftcms/cms/blob/develop/src/i18n/I18N.php#L231

  • Craft version: 3.0.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant