MailPoet Newsletters (Previous) - Version 2.6.19

Version Description

  • 2015-10-13 =
  • Fixed a URL validation issue when WP's home & site URLs are different. Kudos to Divaldo for pointing it out
Download this release

Release Info

Developer JoN1oP
Plugin Icon 128x128 MailPoet Newsletters (Previous)
Version 2.6.19
Comparing to
See all releases

Code changes from version 2.6.18 to 2.6.19

Files changed (63) hide show
  1. controllers/front/stats.php +5 -2
  2. core/base.php +1 -1
  3. index.php +1 -1
  4. languages/wysija-newsletters-af.mo +0 -0
  5. languages/wysija-newsletters-ar.mo +0 -0
  6. languages/wysija-newsletters-be.mo +0 -0
  7. languages/wysija-newsletters-bg_BG.mo +0 -0
  8. languages/wysija-newsletters-bn_BD.mo +0 -0
  9. languages/wysija-newsletters-bs_BA.mo +0 -0
  10. languages/wysija-newsletters-ca.mo +0 -0
  11. languages/wysija-newsletters-ca@valencia.mo +0 -0
  12. languages/wysija-newsletters-ca_ES.mo +0 -0
  13. languages/wysija-newsletters-cs_CZ.mo +0 -0
  14. languages/wysija-newsletters-da_DK.mo +0 -0
  15. languages/wysija-newsletters-de_CH.mo +0 -0
  16. languages/wysija-newsletters-de_DE.mo +0 -0
  17. languages/wysija-newsletters-el.mo +0 -0
  18. languages/wysija-newsletters-en_GB.mo +0 -0
  19. languages/wysija-newsletters-es_419.mo +0 -0
  20. languages/wysija-newsletters-es_AR.mo +0 -0
  21. languages/wysija-newsletters-es_ES.mo +0 -0
  22. languages/wysija-newsletters-es_MX.mo +0 -0
  23. languages/wysija-newsletters-et.mo +0 -0
  24. languages/wysija-newsletters-eu.mo +0 -0
  25. languages/wysija-newsletters-fa.mo +0 -0
  26. languages/wysija-newsletters-fa_IR.mo +0 -0
  27. languages/wysija-newsletters-fi.mo +0 -0
  28. languages/wysija-newsletters-fr_FR.mo +0 -0
  29. languages/wysija-newsletters-gl_ES.mo +0 -0
  30. languages/wysija-newsletters-he_IL.mo +0 -0
  31. languages/wysija-newsletters-hi_IN.mo +0 -0
  32. languages/wysija-newsletters-hr_HR.mo +0 -0
  33. languages/wysija-newsletters-hu_HU.mo +0 -0
  34. languages/wysija-newsletters-hy_AM.mo +0 -0
  35. languages/wysija-newsletters-id.mo +0 -0
  36. languages/wysija-newsletters-is_IS.mo +0 -0
  37. languages/wysija-newsletters-it_IT.mo +0 -0
  38. languages/wysija-newsletters-ja.mo +0 -0
  39. languages/wysija-newsletters-ko_KR.mo +0 -0
  40. languages/wysija-newsletters-lt_LT.mo +0 -0
  41. languages/wysija-newsletters-lv.mo +0 -0
  42. languages/wysija-newsletters-mk_MK.mo +0 -0
  43. languages/wysija-newsletters-nb_NO.mo +0 -0
  44. languages/wysija-newsletters-nl_NL.mo +0 -0
  45. languages/wysija-newsletters-oc.mo +0 -0
  46. languages/wysija-newsletters-pl_PL.mo +0 -0
  47. languages/wysija-newsletters-pt_BR.mo +0 -0
  48. languages/wysija-newsletters-pt_PT.mo +0 -0
  49. languages/wysija-newsletters-ro_RO.mo +0 -0
  50. languages/wysija-newsletters-ru_RU.mo +0 -0
  51. languages/wysija-newsletters-sk_SK.mo +0 -0
  52. languages/wysija-newsletters-sl_SI.mo +0 -0
  53. languages/wysija-newsletters-sq.mo +0 -0
  54. languages/wysija-newsletters-sr_RS.mo +0 -0
  55. languages/wysija-newsletters-sr_RS@latin.mo +0 -0
  56. languages/wysija-newsletters-sv_SE.mo +0 -0
  57. languages/wysija-newsletters-tr_TR.mo +0 -0
  58. languages/wysija-newsletters-uk.mo +0 -0
  59. languages/wysija-newsletters-ur_PK.mo +0 -0
  60. languages/wysija-newsletters-vi.mo +0 -0
  61. languages/wysija-newsletters-zh_CN.mo +0 -0
  62. languages/wysija-newsletters-zh_TW.mo +0 -0
  63. readme.txt +4 -1
controllers/front/stats.php CHANGED
@@ -30,11 +30,14 @@ class WYSIJA_control_front_stats extends WYSIJA_control_front{
30
  $url = $this->encode_url($WJ_Stats->subscriber_clicked());
31
  $external_url = htmlentities($WJ_Stats->subscriber_clicked()); // escape HTML characters (that's how URLs are saved in the DB)
32
  $external_url = preg_replace('!/?\?utm.*!', '', $external_url); // remove anything that starts with ?utm or /?utm
33
- $internal_url = htmlentities(get_site_url());
 
34
  $model_email = WYSIJA::get('email', 'model');
35
  $email_object = $model_email->getOne(false,array('email_id' => $_REQUEST['email_id']));
36
  if (preg_match('/'. preg_quote($external_url, '/') .'/', $email_object['body']) ||
37
- preg_match('/^'. preg_quote($internal_url, '/') .'/', $url)) {
 
 
38
  do_action('mpoet_click_stats', $WJ_Stats);
39
  $this->redirect($url);
40
  }
30
  $url = $this->encode_url($WJ_Stats->subscriber_clicked());
31
  $external_url = htmlentities($WJ_Stats->subscriber_clicked()); // escape HTML characters (that's how URLs are saved in the DB)
32
  $external_url = preg_replace('!/?\?utm.*!', '', $external_url); // remove anything that starts with ?utm or /?utm
33
+ $internal_site_url = htmlentities(get_site_url());
34
+ $internal_home_url = htmlentities(get_home_url());
35
  $model_email = WYSIJA::get('email', 'model');
36
  $email_object = $model_email->getOne(false,array('email_id' => $_REQUEST['email_id']));
37
  if (preg_match('/'. preg_quote($external_url, '/') .'/', $email_object['body']) ||
38
+ preg_match('/^'. preg_quote($internal_site_url, '/') .'/', $url) ||
39
+ preg_match('/^'. preg_quote($internal_home_url, '/') .'/', $url)
40
+ ) {
41
  do_action('mpoet_click_stats', $WJ_Stats);
42
  $this->redirect($url);
43
  }
core/base.php CHANGED
@@ -19,7 +19,7 @@ class WYSIJA_object{
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
- static $version = '2.6.18';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.6.19';
23
 
24
  function __construct(){}
25
 
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailPoet Newsletters
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. MailPoet is a sweet plugin maintained and supported with love by <a target="_blank" href="http://www.mailpoet.com/about-the-wysija-team-members/?utm_medium=plugin&utm_campaign=know_team&utm_source=wp_plugins_list">a team of a dozen</a>.
6
- Version: 2.6.18
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
3
  Plugin Name: MailPoet Newsletters
4
  Plugin URI: http://www.mailpoet.com/
5
  Description: Create and send newsletters or automated emails. Capture subscribers with a widget. Import and manage your lists. MailPoet is a sweet plugin maintained and supported with love by <a target="_blank" href="http://www.mailpoet.com/about-the-wysija-team-members/?utm_medium=plugin&utm_campaign=know_team&utm_source=wp_plugins_list">a team of a dozen</a>.
6
+ Version: 2.6.19
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
languages/wysija-newsletters-af.mo CHANGED
Binary file
languages/wysija-newsletters-ar.mo CHANGED
Binary file
languages/wysija-newsletters-be.mo CHANGED
Binary file
languages/wysija-newsletters-bg_BG.mo CHANGED
Binary file
languages/wysija-newsletters-bn_BD.mo CHANGED
Binary file
languages/wysija-newsletters-bs_BA.mo CHANGED
Binary file
languages/wysija-newsletters-ca.mo CHANGED
Binary file
languages/wysija-newsletters-ca@valencia.mo CHANGED
Binary file
languages/wysija-newsletters-ca_ES.mo CHANGED
Binary file
languages/wysija-newsletters-cs_CZ.mo CHANGED
Binary file
languages/wysija-newsletters-da_DK.mo CHANGED
Binary file
languages/wysija-newsletters-de_CH.mo CHANGED
Binary file
languages/wysija-newsletters-de_DE.mo CHANGED
Binary file
languages/wysija-newsletters-el.mo CHANGED
Binary file
languages/wysija-newsletters-en_GB.mo CHANGED
Binary file
languages/wysija-newsletters-es_419.mo CHANGED
Binary file
languages/wysija-newsletters-es_AR.mo CHANGED
Binary file
languages/wysija-newsletters-es_ES.mo CHANGED
Binary file
languages/wysija-newsletters-es_MX.mo CHANGED
Binary file
languages/wysija-newsletters-et.mo CHANGED
Binary file
languages/wysija-newsletters-eu.mo CHANGED
Binary file
languages/wysija-newsletters-fa.mo CHANGED
Binary file
languages/wysija-newsletters-fa_IR.mo CHANGED
Binary file
languages/wysija-newsletters-fi.mo CHANGED
Binary file
languages/wysija-newsletters-fr_FR.mo CHANGED
Binary file
languages/wysija-newsletters-gl_ES.mo CHANGED
Binary file
languages/wysija-newsletters-he_IL.mo CHANGED
Binary file
languages/wysija-newsletters-hi_IN.mo CHANGED
Binary file
languages/wysija-newsletters-hr_HR.mo CHANGED
Binary file
languages/wysija-newsletters-hu_HU.mo CHANGED
Binary file
languages/wysija-newsletters-hy_AM.mo CHANGED
Binary file
languages/wysija-newsletters-id.mo CHANGED
Binary file
languages/wysija-newsletters-is_IS.mo CHANGED
Binary file
languages/wysija-newsletters-it_IT.mo CHANGED
Binary file
languages/wysija-newsletters-ja.mo CHANGED
Binary file
languages/wysija-newsletters-ko_KR.mo CHANGED
Binary file
languages/wysija-newsletters-lt_LT.mo CHANGED
Binary file
languages/wysija-newsletters-lv.mo CHANGED
Binary file
languages/wysija-newsletters-mk_MK.mo CHANGED
Binary file
languages/wysija-newsletters-nb_NO.mo CHANGED
Binary file
languages/wysija-newsletters-nl_NL.mo CHANGED
Binary file
languages/wysija-newsletters-oc.mo CHANGED
Binary file
languages/wysija-newsletters-pl_PL.mo CHANGED
Binary file
languages/wysija-newsletters-pt_BR.mo CHANGED
Binary file
languages/wysija-newsletters-pt_PT.mo CHANGED
Binary file
languages/wysija-newsletters-ro_RO.mo CHANGED
Binary file
languages/wysija-newsletters-ru_RU.mo CHANGED
Binary file
languages/wysija-newsletters-sk_SK.mo CHANGED
Binary file
languages/wysija-newsletters-sl_SI.mo CHANGED
Binary file
languages/wysija-newsletters-sq.mo CHANGED
Binary file
languages/wysija-newsletters-sr_RS.mo CHANGED
Binary file
languages/wysija-newsletters-sr_RS@latin.mo CHANGED
Binary file
languages/wysija-newsletters-sv_SE.mo CHANGED
Binary file
languages/wysija-newsletters-tr_TR.mo CHANGED
Binary file
languages/wysija-newsletters-uk.mo CHANGED
Binary file
languages/wysija-newsletters-ur_PK.mo CHANGED
Binary file
languages/wysija-newsletters-vi.mo CHANGED
Binary file
languages/wysija-newsletters-zh_CN.mo CHANGED
Binary file
languages/wysija-newsletters-zh_TW.mo CHANGED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wysija, kgjerstad, benheu, JoN1oP, badshark, rafaehlers, vvaz, kei
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.3
5
  Tested up to: 4.3.1
6
- Stable tag: 2.6.18
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -130,6 +130,9 @@ Our [support site](http://support.mailpoet.com/) has plenty of articles and a ti
130
 
131
  == Changelog ==
132
 
 
 
 
133
  = 2.6.18 - 2015-09-21 =
134
  * Fixed URL validation issue
135
  * Improved newsletter/subscriber search
3
  Tags: newsletter, newsletters, email newsletter, email subscription, newsletter signup, post notification, autoresponder, newsletter alert, auto newsletter, automatic post notification, email newsletters, email signup, auto post notifications, newsletter widget, newsletter builder, subscribe widget, signup widget, email subscription, newsletter plugin, widget, subscription, emailing, mailpoet, wysija, mandrill, sendgrid
4
  Requires at least: 3.3
5
  Tested up to: 4.3.1
6
+ Stable tag: 2.6.19
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
130
 
131
  == Changelog ==
132
 
133
+ = 2.6.19 - 2015-10-13 =
134
+ * Fixed a URL validation issue when WP's home & site URLs are different. Kudos to Divaldo for pointing it out
135
+
136
  = 2.6.18 - 2015-09-21 =
137
  * Fixed URL validation issue
138
  * Improved newsletter/subscriber search