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: