diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-05-15 12:14:32 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-05-15 12:14:32 +0000 |
commit | 38153c0f3e739f3d89a1a7734fd7d199bf457fab (patch) | |
tree | 28e19f4e091d5182a2c63bc98377e5381b0043ac /Postman/PostmanMessageHandler.php | |
parent | 942aa536210fe204a2d097eb8878c1d690e0547b (diff) | |
download | Post-SMTP-38153c0f3e739f3d89a1a7734fd7d199bf457fab.zip |
= 2.0 - 2019-05-15
* New: Mailer Type - Added an option to send without overwrite the 'wp_mail' function, better compability to WordPress delivery. hopefully will be the default in the future.
* Updated: Sendgrid API was upgraded and rewritten to the new version.
* Fixed: Message-Id header was missing on SMTP
* Fixed: Email logger optimization - better query for large amount of records.
* Fixed: The localization was fixed to match translate.wordpress.org translation system ( Thanks to Niels de Blaauw from Level-Level ).
* Fixed: Code and optimization ( Thanks to Niels de Blaauw from Level-Level ).
Diffstat (limited to 'Postman/PostmanMessageHandler.php')
-rw-r--r-- | Postman/PostmanMessageHandler.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Postman/PostmanMessageHandler.php b/Postman/PostmanMessageHandler.php index e592369..7a218e8 100644 --- a/Postman/PostmanMessageHandler.php +++ b/Postman/PostmanMessageHandler.php @@ -12,7 +12,7 @@ if (! class_exists ( 'PostmanMessageHandler' )) { /** * - * @param unknown $options + * @param mixed $options */ function __construct() { $this->logger = new PostmanLogger ( get_class ( $this ) ); @@ -26,21 +26,21 @@ if (! class_exists ( 'PostmanMessageHandler' )) { /** * - * @param unknown $message + * @param mixed $message */ public function addError($message) { $this->storeMessage ( $message, 'error' ); } /** * - * @param unknown $message + * @param mixed $message */ public function addWarning($message) { $this->storeMessage ( $message, 'warning' ); } /** * - * @param unknown $message + * @param mixed $message */ public function addMessage($message) { $this->storeMessage ( $message, 'notify' ); @@ -49,8 +49,8 @@ if (! class_exists ( 'PostmanMessageHandler' )) { /** * store messages for display later * - * @param unknown $message - * @param unknown $type + * @param mixed $message + * @param mixed $type */ private function storeMessage($message, $type) { $messageArray = array (); @@ -102,8 +102,8 @@ if (! class_exists ( 'PostmanMessageHandler' )) { /** * putput message * - * @param unknown $message - * @param unknown $className + * @param mixed $message + * @param mixed $className */ public function printMessage($message, $className) { printf ( '<div class="%s"><p>%s</p></div>', $className, $message ); |