mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix email template and localization
This commit is contained in:
+4
-2
@@ -36,9 +36,11 @@ class UM_Mail {
|
||||
$lang = icl_get_current_language() . '/';
|
||||
}
|
||||
} else {
|
||||
$lang = get_locale();
|
||||
|
||||
if( $lang == 'en_US' ){
|
||||
$lang = get_locale();
|
||||
$arr_english_lang = array('en_US','en_NZ','en_ZA','en_AU','en_GB');
|
||||
|
||||
if( in_array( $lang, $arr_english_lang ) ){
|
||||
$lang = '';
|
||||
} else {
|
||||
$lang .= '/';
|
||||
|
||||
Reference in New Issue
Block a user