diff options
author | yehuda <yehuda@myinbox.in> | 2019-03-04 16:44:26 +0200 |
---|---|---|
committer | yehuda <yehuda@myinbox.in> | 2019-03-04 16:44:26 +0200 |
commit | 1c687646231fa31cea77eb3aa994a4a037ce670a (patch) | |
tree | 45e0858a4869f6a082fec91d34666627448f8d54 /Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php | |
parent | e33f6bd6bce974ec0d9836e1589ea1facf159841 (diff) | |
download | Post-SMTP-1c687646231fa31cea77eb3aa994a4a037ce670a.zip |
* 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
Diffstat (limited to 'Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php')
-rw-r--r-- | Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php | 6 |
1 files changed, 4 insertions, 2 deletions
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( '<input type="password" id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::NOTIFICATION_CHROME_UID, $this->options->getNotificationChromeUid() ); + printf( '<input type="password" id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::NOTIFICATION_CHROME_UID, PostmanUtils::obfuscatePassword( $this->options->getNotificationChromeUid() ) ); } public function pushover_user_callback() { |