Skip to content

get_locale() used instead of get_user_locale() in admin area #1267

Description

@abuyoyo

Behavior:

While in the admin area, metabox titles and description appear in site locale's language, while the rest of the admin page is displayed in the user's locale/language.

I've changed l10ni18n - get_locale() -> get_user_locale() and it solved my problem.
But on my setup I'm not using cmb on the front end (which should still use get_locale() ) so obviously that's not the solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo