From f627e0d82c18a1ed60eead38ce38746ded43adc6 Mon Sep 17 00:00:00 2001 From: yehudah Date: Sun, 17 Feb 2019 20:56:03 +0000 Subject: = 1.9.7 - 2019-02-17 * New: Fallback Feature - Configure a backup SMTP when emails are failing. * New: WordPress Multisite compability - with global settings. * New: Email Log capability - give other user cheking the logs. * Fixed: compatibility with mailster plugin * Fixed: Mandrill exception bug - Thanks to Niels de Blaauw from Level-Level --- .../Postman-Configuration/PostmanRegisterConfigurationSettings.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php') diff --git a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php index 6102d10..7882d43 100644 --- a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php +++ b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php @@ -21,7 +21,7 @@ class PostmanSettingsRegistry { // only administrators should be able to trigger this if ( PostmanUtils::isAdmin() ) { - $sanitizer = new PostmanInputSanitizer(); + $sanitizer = new PostmanInputSanitizer(); register_setting( PostmanAdminController::SETTINGS_GROUP_NAME, PostmanOptions::POSTMAN_OPTIONS, array( $sanitizer, 'sanitize', @@ -101,6 +101,8 @@ class PostmanSettingsRegistry { 'headers_callback', ), PostmanAdminController::MESSAGE_HEADERS_OPTIONS, PostmanAdminController::MESSAGE_HEADERS_SECTION ); + // Fallback + // the Email Validation section add_settings_section( PostmanAdminController::EMAIL_VALIDATION_SECTION, __( 'Validation', Postman::TEXT_DOMAIN ), array( $this, @@ -431,7 +433,7 @@ class PostmanSettingsRegistry { } public function notification_chrome_uid_callback() { - printf( '', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::NOTIFICATION_CHROME_UID, $this->options->getNotificationChromeUid() ); + printf( '', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::NOTIFICATION_CHROME_UID, PostmanUtils::obfuscatePassword( $this->options->getNotificationChromeUid() ) ); } public function pushover_user_callback() { -- cgit v1.2.3