summaryrefslogtreecommitdiff
path: root/Postman/PostmanInputSanitizer.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels@level-level.com>2019-03-13 09:42:41 +0100
committerNiels de Blaauw <niels@level-level.com>2019-03-13 09:42:41 +0100
commitfd70868a4b7c569ff5eeddfa36b71709c24b3555 (patch)
tree92a5412dcea553a72a2ab90971ec42bba8331481 /Postman/PostmanInputSanitizer.php
parentc88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff)
downloadPost-SMTP-fd70868a4b7c569ff5eeddfa36b71709c24b3555.zip
Fixes #1, deprecates and replaces variable text domain usage
This should be removed as it breaks compatibility with translate.wordpress.org
Diffstat (limited to 'Postman/PostmanInputSanitizer.php')
-rw-r--r--Postman/PostmanInputSanitizer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Postman/PostmanInputSanitizer.php b/Postman/PostmanInputSanitizer.php
index 6a4f442..6e08717 100644
--- a/Postman/PostmanInputSanitizer.php
+++ b/Postman/PostmanInputSanitizer.php
@@ -157,7 +157,7 @@ if ( ! class_exists( 'PostmanInputSanitizer' ) ) {
if ( $value <= 0 ) {
$new_input [ $key ] = PostmanOptions::getInstance()->getMailLoggingMaxEntries();
$h = new PostmanMessageHandler();
- $h->addError( sprintf( '%s %s', __( 'Maximum Log Entries', Postman::TEXT_DOMAIN ), __( 'must be greater than 0', Postman::TEXT_DOMAIN ) ) );
+ $h->addError( sprintf( '%s %s', __( 'Maximum Log Entries', 'post-smtp' ), __( 'must be greater than 0', 'post-smtp' ) ) );
} else {
$this->logSanitize( $desc, $input [ $key ] );
$new_input [ $key ] = $value;