Mailster WordPress Newsletter Plugin Compatibility Tester - Version 1.0.3

Version Description

Download this release

Release Info

Developer everpress
Plugin Icon 128x128 Mailster WordPress Newsletter Plugin Compatibility Tester
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

Files changed (4) hide show
  1. README.md +158 -0
  2. classes/tester.class.php +24 -29
  3. mailster.php +2 -3
  4. readme.txt +0 -55
README.md ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Mailster WordPress Newsletter Plugin Compatibility Tester
2
+
3
+ Contributors: everpress, xaverb
4
+ Tags: email newsletter, newsletter, newsletter signup, email signup, email marketing
5
+ Requires at least: 4.6
6
+ Tested up to: 6.0
7
+ Stable tag: 1.0.3
8
+ License: GPLv2 or later
9
+ Requires PHP: 7.2.5
10
+
11
+ This is a compatibility tester plugin for the Mailster Email Newsletter Plugin available at: [mailster.co](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Mailster)
12
+
13
+ ## Description
14
+
15
+ ## Mailster is an easy to use Email Newsletter Plugin for WordPress. Create, send and track your Newsletter Campaigns without hassle.
16
+
17
+ ### Send Your Latest Posts, Products, Events or any other post type.
18
+
19
+ Mailster lets you send all your posts, products, events or other custom post types. Every type can also be used for email automation.
20
+
21
+ ### Welcome Your New Subscribers.
22
+
23
+ Set up your welcome series and leave the rest to Mailster.
24
+
25
+ You sit back and focus on your business while Mailster makes sure your new subscribers feel welcome.
26
+
27
+ ### Free and Premium Templates.
28
+
29
+ Mailster offers you a choice of more than 400 free and premium designs.
30
+
31
+ Create stunning and engaging campaigns in minutes!
32
+
33
+ ### GDPR Compliance.
34
+
35
+ When it comes to GDPR compliance, Mailster is your newsletter marketing tool of choice: Mailster fully complies with GDPR requirements.
36
+
37
+ All your data is stored in your own database and is not transferred or shared with third parties.
38
+
39
+ ### Grow Without Limits.
40
+
41
+ With Mailster there’s no limit in subscribers. For a one-time fee you can have as many subscribers as you want.
42
+
43
+ Go ahead and grow as much as you like!
44
+
45
+ - Unlimited Subscribers
46
+ - Unlimited Forms
47
+ - Unlimited Lists
48
+
49
+ ### Send With Any Email Provider.
50
+
51
+ Mailster works with any email provider, no matter if you want to use a professional provider or your own server.
52
+
53
+ ### RSS to Email.
54
+
55
+ Your subscribers will want to know if there’s new content on a third-party site they follow.
56
+
57
+ With our RSS-to-email feature, new posts are automatically imported into an email and sent to your subscribers. Just set up your automation campaign and you’re ready to go.
58
+
59
+ ### Time Zone Based Sending.
60
+
61
+ You have subscribers all over the world? With Mailster you send your email campaigns based on the time zone of your subscribers.
62
+
63
+ This way you ensure that your readers receive your emails at the exact times when they are most likely to open them.
64
+
65
+ ### Know Your Subscribers.
66
+
67
+ Analyze your subscribers´ data and target your marketing strategy according to their needs.
68
+ Mailster collects and uses your subscribers’ data while staying completely within GDPR requirements.
69
+
70
+ ### Merge Tags.
71
+
72
+ Merge tags are the key to marketing personalization: They are placeholder tags that get replaced with content tailored to your subscribers.
73
+
74
+ Our merge tags are customizable, extendable and easy to remember.
75
+
76
+ ### Create Better Segmentations.
77
+
78
+ Increase your open rates with targeted campaigns and segmentation. Mailster provides many metrics to choose from so only the right audience gets the right email.
79
+
80
+ ### Great Campaign Insights.
81
+
82
+ Track and analyse your campaigns and subscribers: Benefit from real time insights into your campaigns.
83
+
84
+ Find out about your subscribers’ click rates and open rates, their location, and other activities relevant for your online marketing strategy.
85
+
86
+ ### Test Your Email Quality Before Sending.
87
+
88
+ With Mailster you can give your email campaign a thorough pre-check before sending it out.
89
+ Mailster gives you feedback on what you should improve.
90
+
91
+ Fix these issues, send and relax – your campaign will be good.
92
+
93
+ ### Automation.
94
+
95
+ Send automatic welcome emails, birthday emails, drip campaigns, follow-ups, auto-responders and more.
96
+
97
+ Just sit back and let Mailster take care of your email marketing.
98
+
99
+ ### You Own Your Data.
100
+
101
+ All your subscribers’ data is stored in your own database.
102
+ No third party has access to that data.
103
+
104
+ ### Dozens of Integrations With Plugins.
105
+
106
+ We’ve partnered with many popular developers so you can continue using your favorite plugins along with Mailster.
107
+
108
+ ### Built in Capability Management.
109
+
110
+ Assign specific rights to the people in your team. This makes it easy to keep full control over who does what.
111
+
112
+ Let your team support you!
113
+
114
+ ### Custom Template Language
115
+
116
+ With Mailster’s simple and straightforward template markup language, coding your own template or adopting existing ones is easy.
117
+
118
+ ### Developer Friendly
119
+
120
+ Mailster provides plenty hooks and filters you can use to increase its functionality and options.
121
+
122
+ Just go ahead and adapt Mailster to your unique needs.
123
+
124
+ ### Feature
125
+
126
+ - Capture subscribers on your website or blog.
127
+ - Send your latest posts/products/custom post types.
128
+ - Welcome Emails.
129
+ - Birthday Campaigns.
130
+ - Follow up/Drip Campaigns.
131
+ - 400 free and premium templates.
132
+ - RSS email campaigns.
133
+ - Built in email campaign precheck.
134
+ - Integration with your favorite plugins.
135
+ - Import your existing data with ease.
136
+ - Available in over 15 languages.
137
+ - GDPR Compliance.
138
+ - Send with any email provider.
139
+ - Time zone based delivery.
140
+ - Merge Tags.
141
+ - Advanced Segmentation.
142
+ - Newsletter Campaign Insights.
143
+ - Auto Responders and email marketing automation.
144
+ - Full Data Control.
145
+ - Reports.
146
+ - Public archive of your latest newsletters.
147
+ - Capability management.
148
+ - Developer friendly.
149
+
150
+ ## Installation
151
+
152
+ 1. Upload the entire `mailster` folder to the `/wp-content/plugins/` directory
153
+ 2. Activate the plugin through the 'Plugins' menu in WordPress
154
+ 3. Go to Tools => Mailster Tester and check for errors and warnings
155
+
156
+ ## Changelog
157
+
158
+ For further details please visit [the changelog on the Mailster Homepage](https://mailster.co/?utm_campaign=wporg&utm_source=wordpress.org&utm_medium=readme&utm_term=Mailster)
classes/tester.class.php CHANGED
@@ -8,83 +8,78 @@ class MailsterTester {
8
  public function __construct() {
9
 
10
  $this->plugin_path = plugin_dir_path( MAILSTER_TESTER_FILE );
11
- $this->plugin_url = plugin_dir_url( MAILSTER_TESTER_FILE );
12
 
13
- register_activation_hook( MAILSTER_TESTER_FILE, array( &$this, 'activate' ) );
14
- register_deactivation_hook( MAILSTER_TESTER_FILE, array( &$this, 'deactivate' ) );
15
-
16
- load_plugin_textdomain( 'mailster-tester' );
17
 
18
  add_action( 'init', array( &$this, 'init' ), 1 );
19
  }
20
 
21
 
22
- public function activate( $network_wide ) { }
23
-
24
-
25
- public function deactivate( $network_wide ) { }
26
-
27
-
28
  public function init() {
29
-
30
- add_action( 'admin_menu', array( $this, 'admin_menu' ) );
31
-
32
  }
33
 
34
 
35
-
36
  public function admin_menu() {
37
- $hook = add_management_page( 'Mailster Tester', 'Mailster Tester', 'install_plugins', 'mailster-tester', array( $this, 'admin_page' ), '' );
 
38
  }
39
 
40
  public function admin_page() {
41
 
42
  $errors = $this->check_compatibility();
43
 
 
 
 
 
44
  if ( $errors->error_count ) {
45
 
46
- echo '<h3>Following Errors occurred</h3>';
47
  echo '<div class="error"><p><strong>' . implode( '<br>', $errors->errors->get_error_messages() ) . '</strong></p></div>';
48
 
49
  } else {
50
 
51
- echo '<h3>No errors where found!</h3>';
52
 
53
  }
54
 
55
  if ( $errors->warning_count ) {
56
 
57
- echo '<h3>Following Warnings occurred</h3>';
58
  echo '<div class="error"><p><strong>' . implode( '<br>', $errors->warnings->get_error_messages() ) . '</strong></p></div>';
59
 
60
  } else {
61
 
62
- echo '<h3>No warnings where found!</h3>';
63
 
64
  }
65
 
66
- echo '<p>Thanks for testing!</p>';
 
 
67
 
68
  }
69
 
70
  public function check_compatibility( $notices = true, $die = false ) {
71
 
72
  $errors = (object) array(
73
- 'error_count' => 0,
74
  'warning_count' => 0,
75
- 'errors' => new WP_Error(),
76
- 'warnings' => new WP_Error(),
77
  );
78
 
79
  $upload_folder = wp_upload_dir();
80
 
81
  $content_dir = trailingslashit( $upload_folder['basedir'] );
82
 
83
- if ( version_compare( PHP_VERSION, '5.3' ) < 0 ) {
84
- $errors->errors->add( 'minphpversion', sprintf( 'Mailster requires PHP version 5.3 or higher. Your current version is %s. Please update or ask your hosting provider to help you updating.', PHP_VERSION ) );
85
  }
86
- if ( version_compare( get_bloginfo( 'version' ), '3.8' ) < 0 ) {
87
- $errors->errors->add( 'minphpversion', sprintf( 'Mailster requires WordPress version 3.8 or higher. Your current version is %s.', get_bloginfo( 'version' ) ) );
88
  }
89
  if ( ! class_exists( 'DOMDocument' ) ) {
90
  $errors->errors->add( 'DOMDocument', 'Mailster requires the <a href="https://php.net/manual/en/class.domdocument.php" target="_blank">DOMDocument</a> library.' );
@@ -99,7 +94,7 @@ class MailsterTester {
99
  $errors->warnings->add( 'menorylimit', 'Your Memory Limit is ' . size_format( WP_MEMORY_LIMIT * 1048576 ) . ', Mailster recommends at least 128 MB' );
100
  }
101
 
102
- $errors->error_count = count( $errors->errors->errors );
103
  $errors->warning_count = count( $errors->warnings->errors );
104
 
105
  return $errors;
8
  public function __construct() {
9
 
10
  $this->plugin_path = plugin_dir_path( MAILSTER_TESTER_FILE );
11
+ $this->plugin_url = plugin_dir_url( MAILSTER_TESTER_FILE );
12
 
13
+ load_plugin_textdomain( 'mailster' );
 
 
 
14
 
15
  add_action( 'init', array( &$this, 'init' ), 1 );
16
  }
17
 
18
 
 
 
 
 
 
 
19
  public function init() {
20
+ add_action( 'admin_menu', array( $this, 'admin_menu' ) );
 
 
21
  }
22
 
23
 
 
24
  public function admin_menu() {
25
+
26
+ $hook = add_menu_page( __( 'Mailster Tester', 'mailster' ), __( 'Mailster Tester', 'mailster' ), 'read', 'mailster-tester', array( $this, 'admin_page' ), 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2OTIuOCA2MTEuOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTQ3MS4xIDI0LjMgMzQ2LjQgMTc2LjcgMjIxLjcgMjQuM0gwdjU2OC4xaDE5NFYyNzMuN2wxNTIuNCAyMDcuOCAxNTIuNC0yMDcuOHYzMTguNmgxOTR2LTU2OEg0NzEuMXoiIGZpbGw9IiMyYmIyZTgiLz48L3N2Zz4=' );
27
  }
28
 
29
  public function admin_page() {
30
 
31
  $errors = $this->check_compatibility();
32
 
33
+ echo '<div class="wrap">';
34
+
35
+ echo '<h1>' . esc_html__( 'Mailster WordPress Newsletter Plugin Compatibility Tester', 'mailster' ) . '</h1>';
36
+
37
  if ( $errors->error_count ) {
38
 
39
+ echo '<h3>' . esc_html__( 'Following Errors occurred', 'mailster' ) . '</h3>';
40
  echo '<div class="error"><p><strong>' . implode( '<br>', $errors->errors->get_error_messages() ) . '</strong></p></div>';
41
 
42
  } else {
43
 
44
+ echo '<h3>' . esc_html__( 'No errors where found!', 'mailster' ) . '</h3>';
45
 
46
  }
47
 
48
  if ( $errors->warning_count ) {
49
 
50
+ echo '<h3>' . esc_html__( 'Following Warnings occurred:', 'mailster' ) . '</h3>';
51
  echo '<div class="error"><p><strong>' . implode( '<br>', $errors->warnings->get_error_messages() ) . '</strong></p></div>';
52
 
53
  } else {
54
 
55
+ echo '<h3>' . esc_html__( 'No warnings where found!', 'mailster' ) . '</h3>';
56
 
57
  }
58
 
59
+ echo '<p>' . esc_html__( 'Thanks for testing!', 'mailster' ) . '</p>';
60
+
61
+ echo '</div>';
62
 
63
  }
64
 
65
  public function check_compatibility( $notices = true, $die = false ) {
66
 
67
  $errors = (object) array(
68
+ 'error_count' => 0,
69
  'warning_count' => 0,
70
+ 'errors' => new WP_Error(),
71
+ 'warnings' => new WP_Error(),
72
  );
73
 
74
  $upload_folder = wp_upload_dir();
75
 
76
  $content_dir = trailingslashit( $upload_folder['basedir'] );
77
 
78
+ if ( version_compare( PHP_VERSION, '7.2.5' ) < 0 ) {
79
+ $errors->errors->add( 'minphpversion', sprintf( 'Mailster requires PHP version 7.2.5 or higher. Your current version is %s. Please update or ask your hosting provider to help you updating.', PHP_VERSION ) );
80
  }
81
+ if ( version_compare( get_bloginfo( 'version' ), '4.6' ) < 0 ) {
82
+ $errors->errors->add( 'minphpversion', sprintf( 'Mailster requires WordPress version 4.6 or higher. Your current version is %s.', get_bloginfo( 'version' ) ) );
83
  }
84
  if ( ! class_exists( 'DOMDocument' ) ) {
85
  $errors->errors->add( 'DOMDocument', 'Mailster requires the <a href="https://php.net/manual/en/class.domdocument.php" target="_blank">DOMDocument</a> library.' );
94
  $errors->warnings->add( 'menorylimit', 'Your Memory Limit is ' . size_format( WP_MEMORY_LIMIT * 1048576 ) . ', Mailster recommends at least 128 MB' );
95
  }
96
 
97
+ $errors->error_count = count( $errors->errors->errors );
98
  $errors->warning_count = count( $errors->warnings->errors );
99
 
100
  return $errors;
mailster.php CHANGED
@@ -3,10 +3,9 @@
3
  Plugin Name: Mailster WordPress Newsletter Plugin Compatibility Tester
4
  Plugin URI: http://mailster.co
5
  Description: This is a compatibility test plugin for the Mailster Newsletter plugin
6
- Version: 1.0.2
7
  Author: EverPress
8
- Author URI: https://everpress.io
9
- Text Domain: mailster-tester
10
  License: GPLv2 or later
11
  */
12
 
3
  Plugin Name: Mailster WordPress Newsletter Plugin Compatibility Tester
4
  Plugin URI: http://mailster.co
5
  Description: This is a compatibility test plugin for the Mailster Newsletter plugin
6
+ Version: 1.0.3
7
  Author: EverPress
8
+ Author URI: https://everpress.co
 
9
  License: GPLv2 or later
10
  */
11
 
readme.txt DELETED
@@ -1,55 +0,0 @@
1
- === Mailster WordPress Newsletter Plugin Compatibility Tester ===
2
- Contributors: everpress
3
- Tags: email newsletter, newsletter, newsletter signup, email signup, email marketing
4
- Requires at least: 3.8
5
- Tested up to: 4.9
6
- Stable tag: 1.0.2
7
- License: GPLv2 or later
8
- Author: EverPress
9
- Author URI: https://mailster.co
10
-
11
- This is a compatibility tester plugin for the Mailster Email Newsletter Plugin available at: [mailster.co](https://mailster.co)
12
-
13
- == Description ==
14
-
15
- > This is a compatibility tester plugin for the Mailster Email Newsletter Plugin available at: [mailster.co](https://mailster.co)
16
-
17
- Mailster makes it easy to create, send and manage your email newsletter campaigns within WordPress.
18
-
19
- == Features ==
20
-
21
- * Track Opens, Clicks, Unsubscriptions and Bounces
22
- * Track Countries and Cities
23
- * Schedule your Campaigns
24
- * Six types of auto responders
25
- * Send your latest post to your subscribers
26
- * Use dynamic and custom Tags (placeholders)
27
- * Webversion for each Newsletter
28
- * Embed Newsletter with Shortcodes
29
- * Forward via Email
30
- * Share with Social Media Services
31
- * Unlimited Subscription Forms
32
- * Sidebar Widgets
33
- * Single or Double-Opt-in support
34
- * WYSIWYG Editor with code view
35
- * Unlimited Color Variations
36
- * Optional Image embedding
37
- * Automatic Inline Styles
38
- * Background Image support
39
- * Quick Preview
40
- * Revisions support (native)
41
- * Multi language ready
42
- * SMTP support
43
- * DomainKeys Identified Mail Support
44
- * Import and Export for Subscribers
45
- * Retina Ready
46
-
47
- == Installation ==
48
-
49
- 1. Upload the entire `mailster` folder to the `/wp-content/plugins/` directory
50
- 2. Activate the plugin through the 'Plugins' menu in WordPress
51
- 3. Go to Tools => Mailster Tester and check for errors and warnings
52
-
53
- == Changelog ==
54
-
55
- For further details please visit [the changelog on the Mailster Homepage](https://mailster.co/changelog/)