mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Version 1.0.40
This commit is contained in:
+11
@@ -14,6 +14,13 @@ class UM_API {
|
||||
|
||||
$this->honeypot = 'request';
|
||||
|
||||
$this->available_languages = array(
|
||||
'en_US' => 'English (US)',
|
||||
'fr_FR' => 'Français',
|
||||
'tr_TR' => 'Türkçe',
|
||||
'it_IT' => 'Italiano'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/***
|
||||
@@ -127,6 +134,10 @@ class UM_API {
|
||||
|
||||
$this->options = get_option('um_options');
|
||||
|
||||
$domain = 'ultimatemember';
|
||||
$locale = get_option('WPLANG');
|
||||
load_textdomain($domain, WP_LANG_DIR . '/plugins/' .$domain.'-'.$locale.'.mo');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user