summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/PostmanMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail/PostmanMessage.php')
-rw-r--r--Postman/Postman-Mail/PostmanMessage.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/Postman/Postman-Mail/PostmanMessage.php b/Postman/Postman-Mail/PostmanMessage.php
index 2af67ef..7f8949e 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 ) ) );
@@ -291,7 +291,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
/**
* Set the charset
*
- * @param unknown $charset
+ * @param mixed $charset
*/
public function setCharset( $charset ) {
$this->charset = $charset;
@@ -310,7 +310,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -319,7 +319,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -328,7 +328,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -337,7 +337,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -391,8 +391,8 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
* Add the headers that were processed in processHeaders()
* Zend requires that several headers are specially handled.
*
- * @param unknown $name
- * @param unknown $value
+ * @param mixed $name
+ * @param mixed $value
* @param Postman_Zend_Mail $mail
*/
private function processHeader( $name, $content ) {
@@ -477,9 +477,9 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
/**
*
- * @param unknown $desc
- * @param unknown $name
- * @param unknown $content
+ * @param mixed $desc
+ * @param mixed $name
+ * @param mixed $content
*/
private function logProcessHeader( $desc, $name, $content ) {
$this->logger->debug( 'Processing ' . $desc . ' Header - ' . $name . ': ' . $content );