diff --git a/includes/core/class-external-integrations.php b/includes/core/class-external-integrations.php index 91763115..914f2e9f 100644 --- a/includes/core/class-external-integrations.php +++ b/includes/core/class-external-integrations.php @@ -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'] . '/'; } diff --git a/includes/core/class-uploader.php b/includes/core/class-uploader.php index c9618154..91ad5721 100644 --- a/includes/core/class-uploader.php +++ b/includes/core/class-uploader.php @@ -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') ) ) {