diff options
author | Niels de Blaauw <niels@level-level.com> | 2019-03-13 09:42:41 +0100 |
---|---|---|
committer | Niels de Blaauw <niels@level-level.com> | 2019-03-13 09:42:41 +0100 |
commit | fd70868a4b7c569ff5eeddfa36b71709c24b3555 (patch) | |
tree | 92a5412dcea553a72a2ab90971ec42bba8331481 /Postman/PostmanInputSanitizer.php | |
parent | c88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff) | |
download | Post-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.php | 2 |
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; |