Changeset 2372398
- Timestamp:
- 08/31/2020 01:57:55 PM (6 years ago)
- Location:
- sparkpost/trunk
- Files:
-
- 3 edited
-
mailer.http.class.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
wordpress-sparkpost.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sparkpost/trunk/mailer.http.class.php
r2360305 r2372398 6 6 if (!defined('ABSPATH')) exit(); 7 7 8 require_once ABSPATH . WPINC . '/ class-phpmailer.php';8 require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php'; 9 9 require_once WPSP_PLUGIN_DIR . '/templates.class.php'; 10 10 11 class SparkPostHTTPMailer extends \PHPMailer 11 class SparkPostHTTPMailer extends \PHPMailer\PHPMailer\PHPMailer 12 12 { 13 13 public $endpoint; … … 67 67 $this->debug('Skipping response processing'); 68 68 return $result; 69 } else {70 return $this->handle_response($result); 71 }69 } 70 71 return $this->handle_response($result); 72 72 } 73 73 … … 435 435 $recipients_list[] = $recipient['address']['email']; 436 436 } 437 } ;437 } 438 438 439 439 return implode(',', $recipients_list); … … 455 455 $formatted_headers = array(); 456 456 // split by line separator 457 foreach (explode($this ->LE, $headers) as $line) {457 foreach (explode($this::$LE, $headers) as $line) { 458 458 459 459 $splitted_line = explode(': ', $line); -
sparkpost/trunk/readme.txt
r2360305 r2372398 4 4 Requires at least: 5.5 5 5 Tested up to: 5.5 6 Stable tag: 3.2. 16 Stable tag: 3.2.2 7 7 License: GPLv2 or later 8 8 … … 52 52 53 53 == Changelog == 54 55 = 3.2.2 = 56 - Fixed parsing of headers and addressed class-phpmailer.php deprecation notice (for HTTP) ([156](https://github.com/SparkPost/wordpress-sparkpost/pull/156)) 57 54 58 = 3.2.1 = 55 59 - Fixed invalid data format/type bug ([153](https://github.com/SparkPost/wordpress-sparkpost/pull/153)) -
sparkpost/trunk/wordpress-sparkpost.php
r2360305 r2372398 6 6 Plugin URI: http://sparkpost.com/ 7 7 Description: Send all your email from Wordpress through SparkPost, the world's most advanced email delivery service. 8 Version: 3.2. 18 Version: 3.2.2 9 9 Author: SparkPost 10 10 Author URI: http://sparkpost.com … … 19 19 define('WPSP_PLUGIN_DIR', plugin_dir_path(__FILE__)); 20 20 define('WPSP_PLUGIN_PATH', WPSP_PLUGIN_DIR . basename(__FILE__)); 21 define('WPSP_PLUGIN_VERSION', '3.2. 1');21 define('WPSP_PLUGIN_VERSION', '3.2.2'); 22 22 23 23 require_once(WPSP_PLUGIN_DIR . 'sparkpost.class.php');
Note: See TracChangeset
for help on using the changeset viewer.