Skip to content

Commit

Permalink
Phing release of v161118 with the following changes:
Browse files Browse the repository at this point in the history
- **Bug Fix:** Exclude unapproved comments from the dropdown menu on the 'Subscribe Without Commenting' form. See [Issue #299](#299).
- **Enhancement:** When parsing templates, this release uses `include()` instead of `eval()` whenever possible. This improves compatibility with shared hosting providers and makes it easier to debug template parsing issues should they occur. See [Issue #192](#192).
- **PHP v7 Compatibility:** After further testing, it was found that while Comment Mail is compatible with PHP v7.0, you must be running PHP v7.0.9+. Starting with this release of Comment Mail if you're running PHP v7 < 7.0.9 a warning is displayed in the WordPress Dashboard asking the site owner to upgrade to PHP v7.0.9 or higher. Note: While PHP v7.0.9 is adequate, PHP v7.0.10 is strongly recommended. See [Issue #272](#272).
- **New SparkPost Integration** (Pro):  It is now possible to use SparkPost for Replies-via-Email (RVE) instead of Mandrill. Note that SparkPost is now the suggested RVE Handler for Comment Mail because Mandrill changed its pricing structure a while back. In short, Mandrill requires a fee, whereas SparkPost (recommended) offers Relay Webhooks as a part of their free plan. See [Issue #265](#265).
- **New Feature** (Pro): Adding support for MailChimp integration. It is now possible to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or reply; i.e., in addition to subscribing to comment reply notifications they can also join your MailChimp mailing list. See [Issue #114](#114).
  • Loading branch information
raamdev committed Nov 18, 2016
1 parent 6120222 commit 87f7f1c
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .gitchange
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1460554614
853d9120b42cf4f2eabe2f35ea18a6ace7170ea6:581cd82eabb520.85323973
d0e05c36184f81b133761b71ca6ee0136be67409:5823c6ee061347.03961302
d0e05c36184f81b133761b71ca6ee0136be67409:582e5cef6a3044.73140470
18 changes: 6 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
## [coming soon]
= v161118 =

- **SparkPost Integration:** It is now possible to use SparkPost for Replies-via-Email (RVE) instead of Mandrill. Note that SparkPost is now the suggested RVE Handler for Comment Mail because Mandrill changed its pricing structure a while back. In short, Mandrill requires a fee, whereas SparkPost (recommended) offers Relay Webhooks as a part of their free plan. See also [issue #265](https://github.com/websharks/comment-mail/issues/265) for additional details.

- **UI Bug Fix** (Pro): Removed unnecessary padding from the bottom of the Pro Update Dashboard notification. Props @kristineds. See [Issue #296](https://github.com/websharks/comment-mail/issues/296).

- **New Feature:** Adding support for MailChimp integration. Requires pro version. It is now possible to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or reply; i.e., in addition to subscribing to comment reply notifications they can also join your MailChimp mailing list. See also: [issue #114](https://github.com/websharks/comment-mail/issues/114) for further details.

- **PHP v7 Compatibility:** After further testing, it was found that while Comment Mail is compatible with PHP v7.0, you must be running PHP v7.0.9+. Starting with this release of Comment Mail if you're running PHP v7 < v7.0.9 a warning is displayed in the WordPress Dashboard asking the site owner to upgrade to PHP v7.0.9 or higher. Note: While PHP v7.0.9 is adequate, PHP v7.0.10 is strongly recommended. See also: [issue #272](https://github.com/websharks/comment-mail/issues/272) for further details.

- **Template Parsing:** When parsing templates, this release uses `include()` instead of `eval()` whenever possible. This improves compatibility with shared hosting providers and makes it easier to debug template parsing issues should they occur. See also [issue #192](https://github.com/websharks/comment-mail/issues/192) for further details.

- **Bug Fix:** Exclude unapproved comments from the dropdown menu on the 'Subscribe Without Commenting' form. See also: [issue #299](https://github.com/websharks/comment-mail/issues/299) for further details.
- **Bug Fix:** Exclude unapproved comments from the dropdown menu on the 'Subscribe Without Commenting' form. See [Issue #299](https://github.com/websharks/comment-mail/issues/299).
- **Enhancement:** When parsing templates, this release uses `include()` instead of `eval()` whenever possible. This improves compatibility with shared hosting providers and makes it easier to debug template parsing issues should they occur. See [Issue #192](https://github.com/websharks/comment-mail/issues/192).
- **PHP v7 Compatibility:** After further testing, it was found that while Comment Mail is compatible with PHP v7.0, you must be running PHP v7.0.9+. Starting with this release of Comment Mail if you're running PHP v7 < 7.0.9 a warning is displayed in the WordPress Dashboard asking the site owner to upgrade to PHP v7.0.9 or higher. Note: While PHP v7.0.9 is adequate, PHP v7.0.10 is strongly recommended. See [Issue #272](https://github.com/websharks/comment-mail/issues/272).
- **New SparkPost Integration** (Pro): It is now possible to use SparkPost for Replies-via-Email (RVE) instead of Mandrill. Note that SparkPost is now the suggested RVE Handler for Comment Mail because Mandrill changed its pricing structure a while back. In short, Mandrill requires a fee, whereas SparkPost (recommended) offers Relay Webhooks as a part of their free plan. See [Issue #265](https://github.com/websharks/comment-mail/issues/265).
- **New Feature** (Pro): Adding support for MailChimp integration. It is now possible to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or reply; i.e., in addition to subscribing to comment reply notifications they can also join your MailChimp mailing list. See [Issue #114](https://github.com/websharks/comment-mail/issues/114).

= v160824 =

Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @license GNU General Public License, version 3
*/
/*
Version: 161110-RC
Version: 161118
Text Domain: comment-mail
Plugin Name: Comment Mail
Expand Down
24 changes: 19 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
=== Comment Mail ===

Stable tag: 161110-RC
Stable tag: 161118
Requires at least: 4.4
Tested up to: 4.7-alpha
Text Domain: comment-mail

License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Contributors: WebSharks, JasWSInc, raamdev, kristineds, sitegeek, renzms
Contributors: WebSharks, JasWSInc, raamdev, kristineds, renzms
Donate link: http://www.websharks-inc.com/r/wp-theme-plugin-donation/
Tags: comments, subscribe, comment subscription, comment subscriptions, comment subscribe, subscribe comments, comment, comment email, comment notification, notifications, notification
Tags: comments, subscribe, comment subscription, comment subscriptions, comment subscribe, subscribe comments, comment, comment email, comment notification, notifications, MailChimp

Email comment subscriptions for WordPress

Expand Down Expand Up @@ -92,7 +92,7 @@ _**TIP:** you can preview Pro features in the free version by clicking the "Prev
- **RVE (Replies Via Email)**
Comment Mail Pro makes it very easy for subscribers to reply to a notification they receive via email—_with_ an email! In short, instead of a subscriber (i.e., someone that receives an update via email) being forced to return to your site, they can simply reply via email. Their response magically ends up on your site in the proper comment thread—just as if they _had_ taken the time to return to your site.

The best part about this feature is that it requires no special server requirements, and very little configuration. This is because Comment Mail Pro has been integrated with Mandrill for RVE service. So all you need to do is follow the simple instructions to setup a Mandrill account. Then supply Comment Mail with the email address that you configure there.
The best part about this feature is that it requires no special server requirements, and very little configuration. This is because Comment Mail Pro has been integrated with both Mandrill and SparkPost for RVE service. So all you need to do is follow the simple instructions to setup a Mandrill or SparkPost account. Then supply Comment Mail with the email address that you configure there.

- **SSO (Single Sign-On) Integration**
This powerful functionality in Comment Mail Pro attracts _many_ more comments (thus, subscribers). With SSO enabled a commenter can be identified by simply logging into your site with Facebook, Twitter, Google+, or LinkedIn.
Expand Down Expand Up @@ -136,6 +136,9 @@ _**TIP:** you can preview Pro features in the free version by clicking the "Prev
- **Queue Processor Adjustments**
Performance tuning Comment Mail can be important on very large sites. With Comment Mail Pro you'll have full control over the asynchronous email notification processing queue. For instance, you can control how often Comment Mail's queue processor runs, how long it will run each time, the max number of emails it will process in each run, and more.

- **MailChimp Integration**
Integrate with MailChimp to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or post a new reply. In addition to subscribing to comment reply notifications they can also choose to join your MailChimp mailing list.

== Screenshots ==

1. Screenshot #1
Expand Down Expand Up @@ -172,7 +175,7 @@ _**TIP:** you can preview Pro features in the free version by clicking the "Prev
- **RVE (Replies Via Email)**
Comment Mail Pro makes it very easy for subscribers to reply to a notification they receive via email—_with_ an email! In short, instead of a subscriber (i.e., someone that receives an update via email) being forced to return to your site, they can simply reply via email. Their response magically ends up on your site in the proper comment thread—just as if they _had_ taken the time to return to your site.

The best part about this feature is that it requires no special server requirements, and very little configuration. This is because Comment Mail Pro has been integrated with Mandrill for RVE service. So all you need to do is follow the simple instructions to setup a Mandrill account. Then supply Comment Mail with the email address that you configure there.
The best part about this feature is that it requires no special server requirements, and very little configuration. This is because Comment Mail Pro has been integrated with both Mandrill and SparkPost for RVE service. So all you need to do is follow the simple instructions to setup a Mandrill or SparkPost account. Then supply Comment Mail with the email address that you configure there.

- **SSO (Single Sign-On) Integration**
This powerful functionality in Comment Mail Pro attracts _many_ more comments (thus, subscribers). With SSO enabled a commenter can be identified by simply logging into your site with Facebook, Twitter, Google+, or LinkedIn.
Expand Down Expand Up @@ -216,6 +219,9 @@ _**TIP:** you can preview Pro features in the free version by clicking the "Prev
- **Queue Processor Adjustments**
Performance tuning Comment Mail can be important on very large sites. With Comment Mail Pro you'll have full control over the asynchronous email notification processing queue. For instance, you can control how often Comment Mail's queue processor runs, how long it will run each time, the max number of emails it will process in each run, and more.

- **MailChimp Integration**
Integrate with MailChimp to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or post a new reply. In addition to subscribing to comment reply notifications they can also choose to join your MailChimp mailing list.

== Software Requirements ==

In addition to the [WordPress Requirements](http://wordpress.org/about/requirements/), Comment Mail™ requires the following minimum versions:
Expand Down Expand Up @@ -252,6 +258,14 @@ Requires PHP v5.4+.

== Changelog ==

= v161118 =

- **Bug Fix:** Exclude unapproved comments from the dropdown menu on the 'Subscribe Without Commenting' form. See [Issue #299](https://github.com/websharks/comment-mail/issues/299).
- **Enhancement:** When parsing templates, this release uses `include()` instead of `eval()` whenever possible. This improves compatibility with shared hosting providers and makes it easier to debug template parsing issues should they occur. See [Issue #192](https://github.com/websharks/comment-mail/issues/192).
- **PHP v7 Compatibility:** After further testing, it was found that while Comment Mail is compatible with PHP v7.0, you must be running PHP v7.0.9+. Starting with this release of Comment Mail if you're running PHP v7 < 7.0.9 a warning is displayed in the WordPress Dashboard asking the site owner to upgrade to PHP v7.0.9 or higher. Note: While PHP v7.0.9 is adequate, PHP v7.0.10 is strongly recommended. See [Issue #272](https://github.com/websharks/comment-mail/issues/272).
- **New SparkPost Integration** (Pro): It is now possible to use SparkPost for Replies-via-Email (RVE) instead of Mandrill. Note that SparkPost is now the suggested RVE Handler for Comment Mail because Mandrill changed its pricing structure a while back. In short, Mandrill requires a fee, whereas SparkPost (recommended) offers Relay Webhooks as a part of their free plan. See [Issue #265](https://github.com/websharks/comment-mail/issues/265).
- **New Feature** (Pro): Adding support for MailChimp integration. It is now possible to give users the option of subscribing to your site-wide mailing list whenever they leave a comment or reply; i.e., in addition to subscribing to comment reply notifications they can also join your MailChimp mailing list. See [Issue #114](https://github.com/websharks/comment-mail/issues/114).

= v160824 =

- **Bug Fix**: Fixed a bug that was generating a fatal error when replying to comments. This bug only affected the Lite version of Comment Mail and was introduced by the previous release (v160818) where [work](https://github.com/websharks/comment-mail/issues/285) was done to strip out unused Pro-only code from the Lite codebase. A few references to Pro-only functions were missed and that resulted in fatal errors for the Lite version in some scenarios. See [Issue #297](https://github.com/websharks/comment-mail/issues/297).
Expand Down
2 changes: 1 addition & 1 deletion src/includes/classes/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ public function checkVersion()
/**
* Check current PHP version.
*
* @since 16xxxx PHP version check.
* @since 161118 PHP version check.
*
* @attaches-to `admin_init` action.
*/
Expand Down
8 changes: 4 additions & 4 deletions src/includes/classes/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Template extends AbsBase
/**
* @var string Template file path.
*
* @since 16xxxx Enhancing templates.
* @since 161118 Enhancing templates.
*/
protected $file_path;

Expand Down Expand Up @@ -120,7 +120,7 @@ public function file()
/**
* Public access to file path.
*
* @since 16xxxx Enhancing templates.
* @since 161118 Enhancing templates.
*
* @return string Template file path.
*/
Expand Down Expand Up @@ -327,7 +327,7 @@ protected function emailVars(array $vars = [])
/**
* Template file path.
*
* @since 16xxxx Enhancing templates.
* @since 161118 Enhancing templates.
*
* @throws \exception If unable to locate the template.
*
Expand Down Expand Up @@ -403,7 +403,7 @@ protected function getFileContents()
/**
* Snippet file path.
*
* @since 16xxxx Enhancing templates.
* @since 161118 Enhancing templates.
*
* @param string $file File path, relative to snippet sub-directory.
*
Expand Down
2 changes: 1 addition & 1 deletion src/includes/classes/UtilsPhp.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function disabledFunctions()
/**
* Isolated PHP file include.
*
* @since 16xxxx Enhancing templates.
* @since 161118 Enhancing templates.
*
* @param string $___file_path Template file path.
* @param array $___vars Array of variables to parse.
Expand Down
2 changes: 1 addition & 1 deletion src/includes/classes/UtilsUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ public function subManageSubDeleteUrl($sub_key = '', $scheme = null, $include_na
/**
* Webhook URL for replies via email; through SparkPost.
*
* @since 16xxxx Adding SparkPost integration.
* @since 161118 Adding SparkPost integration.
*
* @param string|null $scheme Optional. Defaults to a `NULL` value.
* See {@link set_scheme()} method for further details.
Expand Down
2 changes: 1 addition & 1 deletion src/includes/classes/WebhookActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function maybeHandle()
/**
* RVE Webhook for SparkPost.
*
* @since 16xxxx Adding SparkPost integration.
* @since 161118 Adding SparkPost integration.
*
* @param mixed $request_args Input argument(s).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/includes/stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
require_once dirname(__DIR__).'/vendor/autoload.php';

${__FILE__}['version'] = '161110-RC'; //version//
${__FILE__}['version'] = '161118'; //version//
${__FILE__}['plugin'] = dirname(dirname(__DIR__)).'/plugin.php';
${__FILE__}['ns_path'] = str_replace('\\', '/', __NAMESPACE__);
${__FILE__}['is_pro'] = strtolower(basename(${__FILE__}['ns_path'])) === 'pro';
Expand Down

0 comments on commit 87f7f1c

Please sign in to comment.