MailPoet Newsletters (Previous) - Version 2.7.11.1

Version Description

  • 2017-07-17 =
  • Improved welcome and update pages
Download this release

Release Info

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

Code changes from version 2.7.11 to 2.7.11.1

Files changed (5) hide show
  1. controllers/back/mp3.php +36 -0
  2. core/base.php +1 -1
  3. index.php +1 -1
  4. readme.txt +3 -3
  5. views/back/mp3.php +77 -0
controllers/back/mp3.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ defined('WYSIJA') or die('Restricted access');
4
+
5
+ class WYSIJA_control_back_mp3 extends WYSIJA_control_back {
6
+
7
+ /**
8
+ * Main view of this controller
9
+ * @var string
10
+ */
11
+ public $view = 'mp3';
12
+ public $model = 'config';
13
+
14
+
15
+ /**
16
+ * Constructor
17
+ */
18
+ function __construct(){
19
+ parent::__construct();
20
+ }
21
+
22
+ function defaultDisplay() {
23
+ $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
24
+ $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
25
+ }
26
+
27
+ function premium_ben() {
28
+ $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
29
+ $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
30
+ }
31
+
32
+ function premium_kim() {
33
+ $this->jsTrans['premium_activate'] = __('Already paid? Click here to activate', WYSIJA);
34
+ $this->jsTrans['premium_activating'] = __('Checking license', WYSIJA);
35
+ }
36
+ }
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.7.11';
23
 
24
  function __construct(){}
25
 
19
  * Static variable holding core MailPoet's version
20
  * @var array
21
  */
22
+ static $version = '2.7.11.1';
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.
6
- Version: 2.7.11
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.
6
+ Version: 2.7.11.1
7
  Author: MailPoet
8
  Author URI: http://www.mailpoet.com/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wysija
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.5
5
- Tested up to: 4.7.4
6
- Stable tag: 2.7.11
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
@@ -132,7 +132,7 @@ Our [support site](http://support.mailpoet.com/) has plenty of articles and a ti
132
 
133
  == Changelog ==
134
 
135
- = 2.7.11 - 2017-07-17 =
136
  * Improved welcome and update pages
137
 
138
  = 2.7.10 - 2017-04-20 =
2
  Contributors: wysija
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.5
5
+ Tested up to: 4.8
6
+ Stable tag: 2.7.11.1
7
  Send newsletters post notifications or autoresponders from WordPress easily, and beautifully. Start to capture subscribers with our widget now.
8
 
9
  == Description ==
132
 
133
  == Changelog ==
134
 
135
+ = 2.7.11.1 - 2017-07-17 =
136
  * Improved welcome and update pages
137
 
138
  = 2.7.10 - 2017-04-20 =
views/back/mp3.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ defined('WYSIJA') or die('Restricted access');
3
+
4
+ class WYSIJA_view_back_mp3 extends WYSIJA_view_back{
5
+ function __construct(){
6
+ $this->skip_header =true;
7
+
8
+ }
9
+
10
+ function defaultDisplay($data){
11
+ $model_config = WYSIJA::get('config','model');
12
+ $time_install = $model_config->getValue('installed_time');
13
+
14
+ $this->displayMP3();
15
+ }
16
+
17
+ function displayMP3() {
18
+ ?>
19
+
20
+ <div class="wrap about-wrap mpoet-page">
21
+ <div class="changelog removeme">
22
+ <h2 style="font-size: 25px; color: #626262; font-weight: 600;"><?php echo __('A new and better MailPoet is coming this September', WYSIJA ); ?></h2>
23
+
24
+ <iframe src="https://player.vimeo.com/video/223581490" width="640" height="360" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
25
+
26
+ <div class="feature-section">
27
+ <ul style="list-style: disc inside none">
28
+
29
+ <li><?php echo __('MailPoet version 3 is completely rewritten', WYSIJA); ?></li>
30
+ <li><?php echo __('New email designer', WYSIJA); ?></li>
31
+ <li><?php echo __('Responsive templates', WYSIJA); ?></li>
32
+ <li><?php echo __('Fast user interface', WYSIJA); ?></li>
33
+ <li><?php echo __('Same easy configuration', WYSIJA); ?></li>
34
+ <li><?php echo __('Weekly releases', WYSIJA); ?></li>
35
+ <li><?php echo __('Version 2 and 3 can live side by side', WYSIJA); ?></li>
36
+ <li><a href="http://beta.docs.mailpoet.com/article/189-comparison-of-mailpoet-2-and-3?utm_source=mp2&amp;utm_medium=welcomeupdate&amp;utm_campaign=comparison"><?php echo __('Comparison table of both versions', WYSIJA); ?></a></li>
37
+ <li><?php echo $this->replace_link_shortcode(__('Try [link]the online demo[/link]', WYSIJA), 'http://demo3.mailpoet.com/launch/?utm_source=mp2&amp;utm_medium=updatewelcome&amp;utm_campaign=demo3'); ?></li>
38
+ <li><?php echo __('Multisite works, but not officially supported. Please test MailPoet 3 on a staging server', WYSIJA); ?></li>
39
+ <li><?php echo __('Right-to-left languages works, but can be improved', WYSIJA); ?></li>
40
+ <li><?php echo $this->replace_link_shortcode(
41
+ $this->replace_link_shortcode(
42
+ __('Get in touch in the [link]forums[/link] for further help. Customers can reach via our [link]support page[/link]', WYSIJA),
43
+ 'https://wordpress.org/support/plugin/wysija-newsletters'
44
+ ),
45
+ 'https://www.mailpoet.com/support/'
46
+ ); ?></li>
47
+ </ul>
48
+
49
+ <br>
50
+ <h3 style="font-size: 25px; color: #626262; font-weight: 600;"><strong>Comes with a 1-click migration tool:</strong></h3>
51
+ <ul style="list-style: disc inside none">
52
+ <li><?php echo __('Your subscribers, lists, forms and settings will be migrated', WYSIJA); ?></li>
53
+ <li><?php echo __('Automatic emails will not be migrated', WYSIJA); ?></li>
54
+ <li><?php echo __('Archive of sent emails will not be migrated', WYSIJA); ?></li>
55
+ <li><?php echo __('Your statistics will not be migrated', WYSIJA); ?></li>
56
+ </ul>
57
+ <a class="button-primary" href="plugin-install.php?s=mailpoet&tab=search&type=author"><?php echo __('Download MailPoet 3 now', WYSIJA); ?></a>
58
+ </div>
59
+ </div>
60
+ <?php
61
+ }
62
+
63
+ private function replace_link_shortcode($text, $url) {
64
+ $count = 1;
65
+ return preg_replace(
66
+ '/\[\/link\]/',
67
+ '</a>',
68
+ preg_replace(
69
+ '/\[link\]/',
70
+ sprintf('<a href="%s">', $url),
71
+ $text,
72
+ $count
73
+ ),
74
+ $count
75
+ );
76
+ }
77
+ }