mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed translations for email notifications
This commit is contained in:
@@ -286,8 +286,8 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
|
||||
$language_codes = $this->get_languages_codes();
|
||||
|
||||
$lang = '';
|
||||
if ( $language_codes['default'] != $language_codes['current'] &&
|
||||
UM()->config()->email_notifications[ $template_name ]['recipient'] != 'admin' ) {
|
||||
if ( $language_codes['default'] != $language_codes['current'] /*&&
|
||||
UM()->config()->email_notifications[ $template_name ]['recipient'] != 'admin'*/ ) {
|
||||
$lang = $language_codes['current'] . '/';
|
||||
}
|
||||
|
||||
|
||||
@@ -1084,8 +1084,6 @@ if ( ! class_exists( 'um\core\Uploader' ) ) {
|
||||
$crop = explode( ',', $coord );
|
||||
$crop = array_map( 'intval', $crop );
|
||||
|
||||
error_log(__METHOD__ . " key=$key");
|
||||
|
||||
do_action("um_upload_image_process__{$key}", $image_path, $src, $key, $user_id, $coord, $crop );
|
||||
|
||||
if ( ! in_array( $key, array('profile_photo','cover_photo') ) ) {
|
||||
|
||||
Reference in New Issue
Block a user