While running PHPUnit tests with WordPress, wp-multilang (version 2.4.10) triggers a PHP warning in class-wpm-install.php on line 271 with if(is_array($available_translations[ $locale ])). The issue occurs because WordPress provides test languages, such as Japanese, that are not available in wp-multilang, leading to an "Undefined array key" warning when trying to access those translations.
While running PHPUnit tests with WordPress, wp-multilang (version 2.4.10) triggers a PHP warning in class-wpm-install.php on line 271 with
if(is_array($available_translations[ $locale ]))
. The issue occurs because WordPress provides test languages, such as Japanese, that are not available in wp-multilang, leading to an "Undefined array key" warning when trying to access those translations.Stack trace:
Thanks in advance!