-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add WP_LANG_DIR constant #212
Conversation
And you should not read that constant. |
Should this go into |
No, this is always a non-empty string - PHPStan does not care what its value is. |
Pascal must have a special plugin that is fiddling with translations... |
Hehe just working on adding PHPStan to my Preferred Languages plugin :) swissspidy/preferred-languages#961 |
Having this issue with |
There is |
@gritdigital-mibu Feel free to submit a PR for |
Proposed in #216 |
@gritdigital-mibu You've got a new release. |
Fab.! Ty ❤️ |
Defined in
wp_set_lang_dir()
.There is no function to read this constant.
Related: