diff options
author | Niels de Blaauw <niels.de.blaauw@gmail.com> | 2019-03-13 10:50:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 10:50:47 +0100 |
commit | bc8e380095d216b943a356d09cba58e1daf34aca (patch) | |
tree | aba313c16b7cccf5450db85d0bb0b185e17d65de /Postman/Postman-Mail/PostmanMessage.php | |
parent | 4e0662202f2f2da40af4efa29da9363a468ec118 (diff) | |
parent | fd70868a4b7c569ff5eeddfa36b71709c24b3555 (diff) | |
download | Post-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/Postman-Mail/PostmanMessage.php')
-rw-r--r-- | Postman/Postman-Mail/PostmanMessage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Postman/Postman-Mail/PostmanMessage.php b/Postman/Postman-Mail/PostmanMessage.php index 2af67ef..3398cb9 100644 --- a/Postman/Postman-Mail/PostmanMessage.php +++ b/Postman/Postman-Mail/PostmanMessage.php @@ -52,7 +52,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) { } function __get( $name ) { - $message = __( '<code>%1$s</code> property of a <code>PostmanMessage</code> object is <strong>not supported</strong>. For now all of this class properties are private.', Postman::TEXT_DOMAIN ); + $message = __( '<code>%1$s</code> property of a <code>PostmanMessage</code> object is <strong>not supported</strong>. For now all of this class properties are private.', 'post-smtp' ); if ( WP_DEBUG ) { trigger_error( sprintf( $message, $name ) ); @@ -63,7 +63,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) { $class = new ReflectionClass(__CLASS__); $methods = $class->getMethods(ReflectionMethod::IS_PUBLIC ); - $message = __( '<code>%1$s</code> method of a <code>PostmanMessage</code> object is <strong>not supported</strong>. Use one of the following methods <pre><code>%2$s</code></pre>', Postman::TEXT_DOMAIN ); + $message = __( '<code>%1$s</code> method of a <code>PostmanMessage</code> object is <strong>not supported</strong>. Use one of the following methods <pre><code>%2$s</code></pre>', 'post-smtp' ); if ( WP_DEBUG ) { trigger_error( sprintf( $message, $name, print_r( $methods, true ) ) ); |