summaryrefslogtreecommitdiff
path: root/Postman/PostmanInputSanitizer.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels.de.blaauw@gmail.com>2019-03-13 10:50:47 +0100
committerGitHub <noreply@github.com>2019-03-13 10:50:47 +0100
commitbc8e380095d216b943a356d09cba58e1daf34aca (patch)
treeaba313c16b7cccf5450db85d0bb0b185e17d65de /Postman/PostmanInputSanitizer.php
parent4e0662202f2f2da40af4efa29da9363a468ec118 (diff)
parentfd70868a4b7c569ff5eeddfa36b71709c24b3555 (diff)
downloadPost-SMTP-bc8e380095d216b943a356d09cba58e1daf34aca.zip
Merge pull request #25 from NielsdeBlaauw/1-fix-variable-text-domain
Fixes #1, deprecates and replaces variable text domain usage
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;