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

load_theme_textdomain #121

Open
rootkowsky opened this issue Dec 21, 2015 · 1 comment
Open

load_theme_textdomain #121

rootkowsky opened this issue Dec 21, 2015 · 1 comment

Comments

@rootkowsky
Copy link

There are some problems when calling 'locale' filter from:
https://codex.wordpress.org/Plugin_API/Filter_Reference/locale

The code from API doesn't work properly.
Current code:

load_theme_textdomain('html5blank', get_template_directory() . '/languages');

Should be called like in standard Twenty Fifteen theme - in 'after_setup_theme' action

@oriSomething
Copy link
Collaborator

would you like to make a PR?

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

2 participants