Version Description
- Fix changelog order in readme file
Download this release
Release Info
Developer | team-rs |
Plugin | SendGrid |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.4.5
- assets/banner-772x250.jpg +0 -0
- assets/icon-128x128.png +0 -0
- assets/icon-256x256.png +0 -0
- assets/screenshot-1.png +0 -0
- assets/screenshot-2.png +0 -0
- assets/screenshot-3.png +0 -0
- assets/screenshot-4.png +0 -0
- assets/screenshot-5.png +0 -0
- assets/screenshot-6.png +0 -0
- assets/screenshot-7.png +0 -0
- lib/class-sendgrid-settings.php +10 -6
- lib/class-sendgrid-statistics.php +6 -2
- lib/class-sendgrid-tools.php +0 -0
- lib/overwrite-sendgrid-methods.php +6 -0
- readme.txt +75 -32
- vendor/sendgrid-php/.gitignore +0 -0
- vendor/sendgrid-php/.travis.yml +0 -0
- vendor/sendgrid-php/MIT.LICENSE +0 -0
- vendor/sendgrid-php/Makefile +0 -0
- vendor/sendgrid-php/README.md +0 -0
- vendor/sendgrid-php/SendGrid.php +0 -0
- vendor/sendgrid-php/SendGrid/Api.php +0 -0
- vendor/sendgrid-php/SendGrid/Mail.php +0 -0
- vendor/sendgrid-php/SendGrid/MailInterface.php +0 -0
- vendor/sendgrid-php/SendGrid/Smtp.php +0 -0
- vendor/sendgrid-php/SendGrid/Web.php +0 -0
- vendor/sendgrid-php/SendGrid_loader.php +0 -0
- vendor/sendgrid-php/Test/Mock/Mock_loader.php +0 -0
- vendor/sendgrid-php/Test/Mock/SmtpMock.php +0 -0
- vendor/sendgrid-php/Test/Mock/WebMock.php +0 -0
- vendor/sendgrid-php/Test/SendGrid/ApiTest.php +0 -0
- vendor/sendgrid-php/Test/SendGrid/MailTest.php +0 -0
- vendor/sendgrid-php/Test/SendGrid/SmtpTest.php +0 -0
- vendor/sendgrid-php/Test/SendGrid/WebTest.php +0 -0
- vendor/sendgrid-php/Test/SendGridTest.php +0 -0
- vendor/sendgrid-php/Test/a_loaderTest.php +0 -0
- vendor/sendgrid-php/Test/phpunit.xml +0 -0
- vendor/sendgrid-php/composer.json +0 -0
- vendor/sendgrid-php/composer.lock +0 -0
- view/css/datepicker/smoothness/images/animated-overlay.gif +0 -0
- view/css/datepicker/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- view/css/datepicker/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- view/css/datepicker/smoothness/images/ui-icons_222222_256x240.png +0 -0
- view/css/datepicker/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- view/css/datepicker/smoothness/images/ui-icons_454545_256x240.png +0 -0
- view/css/datepicker/smoothness/images/ui-icons_888888_256x240.png +0 -0
- view/css/datepicker/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- view/css/datepicker/smoothness/jquery-ui-1.10.3.custom.css +0 -0
- view/css/sendgrid.css +0 -0
- view/images/loader.gif +0 -0
- view/images/logo.png +0 -0
- view/images/logo32.png +0 -0
- view/js/jquery.flot.js +0 -0
- view/js/jquery.flot.symbol.js +0 -0
- view/js/jquery.flot.time.js +0 -0
- view/js/jquery.flot.togglelegend.js +0 -0
- view/js/jquery.ui.datepicker.js +0 -0
- view/js/sendgrid.stats.js +0 -0
- view/partials/sendgrid_stats_compliance.php +0 -0
- view/partials/sendgrid_stats_deliveries.php +0 -0
- view/partials/sendgrid_stats_engagement.php +0 -0
- view/partials/sendgrid_stats_widget.php +0 -0
- view/sendgrid_contextual_help.php +0 -0
- view/sendgrid_settings.php +9 -0
- view/sendgrid_stats.php +9 -1
- wpsendgrid.php +1 -1
assets/banner-772x250.jpg
ADDED
Binary file
|
assets/icon-128x128.png
ADDED
Binary file
|
assets/icon-256x256.png
ADDED
Binary file
|
assets/screenshot-1.png
CHANGED
Binary file
|
assets/screenshot-2.png
CHANGED
Binary file
|
assets/screenshot-3.png
CHANGED
Binary file
|
assets/screenshot-4.png
CHANGED
Binary file
|
assets/screenshot-5.png
CHANGED
Binary file
|
assets/screenshot-6.png
CHANGED
Binary file
|
assets/screenshot-7.png
CHANGED
Binary file
|
lib/class-sendgrid-settings.php
CHANGED
@@ -95,15 +95,19 @@ class Sendgrid_Settings
|
|
95 |
|
96 |
$reply_to = $_POST['sendgrid_reply_to'];
|
97 |
update_option( 'sendgrid_reply_to', $reply_to );
|
|
|
|
|
|
|
98 |
}
|
99 |
}
|
100 |
|
101 |
-
$user
|
102 |
-
$password
|
103 |
-
$method
|
104 |
-
$name
|
105 |
-
$email
|
106 |
-
$reply_to
|
|
|
107 |
|
108 |
$valid_credentials = false;
|
109 |
if ( $user and $password )
|
95 |
|
96 |
$reply_to = $_POST['sendgrid_reply_to'];
|
97 |
update_option( 'sendgrid_reply_to', $reply_to );
|
98 |
+
|
99 |
+
$categories = $_POST['sendgrid_categories'];
|
100 |
+
update_option( 'sendgrid_categories', $categories );
|
101 |
}
|
102 |
}
|
103 |
|
104 |
+
$user = get_option('sendgrid_user');
|
105 |
+
$password = get_option('sendgrid_pwd');
|
106 |
+
$method = get_option('sendgrid_api');
|
107 |
+
$name = get_option('sendgrid_from_name');
|
108 |
+
$email = get_option('sendgrid_from_email');
|
109 |
+
$reply_to = get_option('sendgrid_reply_to');
|
110 |
+
$categories = get_option('sendgrid_categories');
|
111 |
|
112 |
$valid_credentials = false;
|
113 |
if ( $user and $password )
|
lib/class-sendgrid-statistics.php
CHANGED
@@ -123,8 +123,12 @@ class Sendgrid_Statistics
|
|
123 |
$parameters['end_date'] = $_POST['end_date'];
|
124 |
}
|
125 |
|
126 |
-
if
|
127 |
-
$
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
|
130 |
echo Sendgrid_Tools::curl_request( 'api/stats.get.json', $parameters );
|
123 |
$parameters['end_date'] = $_POST['end_date'];
|
124 |
}
|
125 |
|
126 |
+
if ( $_POST['type'] && 'general' != $_POST['type'] ) {
|
127 |
+
if( 'wordpress' == $_POST['type'] ) {
|
128 |
+
$parameters['category'] = 'wp_sendgrid_plugin';
|
129 |
+
} else {
|
130 |
+
$parameters['category'] = urlencode( $_POST['type'] );
|
131 |
+
}
|
132 |
}
|
133 |
|
134 |
echo Sendgrid_Tools::curl_request( 'api/stats.get.json', $parameters );
|
lib/class-sendgrid-tools.php
CHANGED
File without changes
|
lib/overwrite-sendgrid-methods.php
CHANGED
@@ -251,6 +251,12 @@ if ( ! function_exists('wp_mail'))
|
|
251 |
->setCategory( SENDGRID_CATEGORY )
|
252 |
->setFrom( $from_email );
|
253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
// send HTML content
|
255 |
if ( 'text/plain' !== $content_type )
|
256 |
{
|
251 |
->setCategory( SENDGRID_CATEGORY )
|
252 |
->setFrom( $from_email );
|
253 |
|
254 |
+
$categories = explode( ',', get_option('sendgrid_categories') );
|
255 |
+
foreach ($categories as $category)
|
256 |
+
{
|
257 |
+
$mail->addCategory($category);
|
258 |
+
}
|
259 |
+
|
260 |
// send HTML content
|
261 |
if ( 'text/plain' !== $content_type )
|
262 |
{
|
readme.txt
CHANGED
@@ -3,12 +3,12 @@ Contributors: team-rs
|
|
3 |
Donate link: http://sendgrid.com/
|
4 |
Tags: email, email reliability, email templates, sendgrid, smtp, transactional email, wp_mail,email infrastructure, email marketing, marketing email, deliverability, email deliverability, email delivery, email server, mail server, email integration, cloud email
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -27,11 +27,11 @@ Emails are tracked and automatically tagged for statistics within the SendGrid D
|
|
27 |
There are a couple levels of integration between your WordPress installation and the SendGrid plugin:
|
28 |
|
29 |
* The simplest option is to Install it, Configure it, and the SendGrid plugin for WordPress will start sending your emails through SendGrid.
|
30 |
-
* We amended wp_mail() function so all email sends from
|
31 |
|
32 |
How to use `wp_mail()` function:
|
33 |
|
34 |
-
We amended `wp_mail()` function so all email sends from
|
35 |
|
36 |
You can send emails using the following function: `wp_mail($to, $subject, $message, $headers = '', $attachments = array())`
|
37 |
|
@@ -50,7 +50,7 @@ After wp_mail function you need to run the `remove_filter('wp_mail_content_type'
|
|
50 |
Example about how to send an HTML email using different headers:
|
51 |
|
52 |
`$subject = 'test plugin';
|
53 |
-
$message = 'testing
|
54 |
$to = 'address1@sendgrid.com, Address2 <address2@sendgrid.com@>, address3@sendgrid.com';
|
55 |
or
|
56 |
$to = array('address1@sendgrid.com', 'Address2 <address2@sendgrid.com>', 'address3@sendgrid.com');
|
@@ -107,36 +107,79 @@ Create a SendGrid account at <a href="http://sendgrid.com/partner/wordpress" tar
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
-
= 1.
|
111 |
-
*
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
= 1.
|
117 |
-
*
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
= 1.
|
123 |
-
*
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
= 1.3.2 =
|
129 |
* Fix URL for loading image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
= 1.4 =
|
131 |
* Fix warnings for static method, add notice for php version < 5.3.0, refactor plugin code
|
132 |
|
133 |
-
|
|
|
134 |
|
135 |
-
= 1.1 =
|
136 |
-
* SendGrid Statistics can be used by selecting the time interval for which you want to see your statistics.
|
137 |
= 1.2 =
|
138 |
-
* Now you can switch between Sendgrid general statistics and Sendgrid
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
* Fix warnings for static method, add notice for php version < 5.3.0, refactor plugin code
|
3 |
Donate link: http://sendgrid.com/
|
4 |
Tags: email, email reliability, email templates, sendgrid, smtp, transactional email, wp_mail,email infrastructure, email marketing, marketing email, deliverability, email deliverability, email delivery, email server, mail server, email integration, cloud email
|
5 |
Requires at least: 3.3
|
6 |
+
Tested up to: 4.0
|
7 |
+
Stable tag: 1.4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Send emails throught Sendgrid from your WordPress installation using SMTP or API integration.
|
12 |
|
13 |
== Description ==
|
14 |
|
27 |
There are a couple levels of integration between your WordPress installation and the SendGrid plugin:
|
28 |
|
29 |
* The simplest option is to Install it, Configure it, and the SendGrid plugin for WordPress will start sending your emails through SendGrid.
|
30 |
+
* We amended wp_mail() function so all email sends from WordPress should go through SendGrid. The wp_mail function is sending text emails as default, but you have an option of sending an email with HTML content.
|
31 |
|
32 |
How to use `wp_mail()` function:
|
33 |
|
34 |
+
We amended `wp_mail()` function so all email sends from WordPress should go through SendGrid.
|
35 |
|
36 |
You can send emails using the following function: `wp_mail($to, $subject, $message, $headers = '', $attachments = array())`
|
37 |
|
50 |
Example about how to send an HTML email using different headers:
|
51 |
|
52 |
`$subject = 'test plugin';
|
53 |
+
$message = 'testing WordPress plugin';
|
54 |
$to = 'address1@sendgrid.com, Address2 <address2@sendgrid.com@>, address3@sendgrid.com';
|
55 |
or
|
56 |
$to = array('address1@sendgrid.com', 'Address2 <address2@sendgrid.com>', 'address3@sendgrid.com');
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 1.4.5 =
|
111 |
+
* Fix changelog order in readme file
|
112 |
+
|
113 |
+
= 1.4.4 =
|
114 |
+
* Fix unicode filename for icon-128x128.png image
|
115 |
+
|
116 |
+
= 1.4.3 =
|
117 |
+
* Update plugin logo, description, screenshots on installation page
|
118 |
+
|
119 |
+
= 1.4.2 =
|
120 |
+
* Added SendGrid Statistics for the categories added in the SendGrid Settings Page
|
121 |
+
|
122 |
+
= 1.4.1 =
|
123 |
+
* Added support to set additional categories
|
124 |
+
|
125 |
+
= 1.4 =
|
126 |
+
* Fix warnings for static method, add notice for php version < 5.3.0, refactor plugin code
|
127 |
+
|
128 |
= 1.3.2 =
|
129 |
* Fix URL for loading image
|
130 |
+
|
131 |
+
= 1.3.1 =
|
132 |
+
* Fixed reply-to to accept: "name <email@example.com>"
|
133 |
+
|
134 |
+
= 1.3 =
|
135 |
+
* Added support for WordPress 3.8, fixed visual issues for WordPress 3.7
|
136 |
+
|
137 |
+
= 1.2.1 =
|
138 |
+
* Fix errors: set_html_content_type error, WP_DEBUG enabled notice, Reply-To header is overwritten by default option
|
139 |
+
|
140 |
+
= 1.2 =
|
141 |
+
* Added statistics for emails sent through WordPress plugin
|
142 |
+
|
143 |
+
= 1.1.3 =
|
144 |
+
* Fix missing argument warning message
|
145 |
+
|
146 |
+
= 1.1.2 =
|
147 |
+
* Fix display for october charts
|
148 |
+
|
149 |
+
= 1.1.1 =
|
150 |
+
* Added default category on sending
|
151 |
+
|
152 |
+
= 1.1 =
|
153 |
+
* Added SendGrid Statistics
|
154 |
+
|
155 |
+
= 1.0 =
|
156 |
+
* Fixed issue: Add error message when PHP-curl extension is not enabled.
|
157 |
+
|
158 |
+
== Upgrade notice ==
|
159 |
+
|
160 |
+
= 1.4.5 =
|
161 |
+
* Fix changelog order in readme file
|
162 |
+
|
163 |
+
= 1.4.4 =
|
164 |
+
* Fix unicode filename for icon-128x128.png image
|
165 |
+
|
166 |
+
= 1.4.3 =
|
167 |
+
* Update plugin logo, description, screenshots on installation page
|
168 |
+
|
169 |
+
= 1.4.2 =
|
170 |
+
* Added SendGrid Statistics for the categories added in the SendGrid Settings Page
|
171 |
+
|
172 |
+
= 1.4.1 =
|
173 |
+
* Added support to set additional categories
|
174 |
+
|
175 |
= 1.4 =
|
176 |
* Fix warnings for static method, add notice for php version < 5.3.0, refactor plugin code
|
177 |
|
178 |
+
= 1.3 =
|
179 |
+
* Added support for WordPress 3.8, fixed visual issues for WordPress 3.7
|
180 |
|
|
|
|
|
181 |
= 1.2 =
|
182 |
+
* Now you can switch between Sendgrid general statistics and Sendgrid WordPress statistics.
|
183 |
+
|
184 |
+
= 1.1 =
|
185 |
+
* SendGrid Statistics can be used by selecting the time interval for which you want to see your statistics.
|
|
vendor/sendgrid-php/.gitignore
CHANGED
File without changes
|
vendor/sendgrid-php/.travis.yml
CHANGED
File without changes
|
vendor/sendgrid-php/MIT.LICENSE
CHANGED
File without changes
|
vendor/sendgrid-php/Makefile
CHANGED
File without changes
|
vendor/sendgrid-php/README.md
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid/Api.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid/Mail.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid/MailInterface.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid/Smtp.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid/Web.php
CHANGED
File without changes
|
vendor/sendgrid-php/SendGrid_loader.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/Mock/Mock_loader.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/Mock/SmtpMock.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/Mock/WebMock.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/SendGrid/ApiTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/SendGrid/MailTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/SendGrid/SmtpTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/SendGrid/WebTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/SendGridTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/a_loaderTest.php
CHANGED
File without changes
|
vendor/sendgrid-php/Test/phpunit.xml
CHANGED
File without changes
|
vendor/sendgrid-php/composer.json
CHANGED
File without changes
|
vendor/sendgrid-php/composer.lock
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/animated-overlay.gif
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_glass_75_dadada_1x400.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-icons_222222_256x240.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-icons_2e83ff_256x240.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-icons_454545_256x240.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-icons_888888_256x240.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/images/ui-icons_cd0a0a_256x240.png
CHANGED
File without changes
|
view/css/datepicker/smoothness/jquery-ui-1.10.3.custom.css
CHANGED
File without changes
|
view/css/sendgrid.css
CHANGED
File without changes
|
view/images/loader.gif
CHANGED
File without changes
|
view/images/logo.png
CHANGED
File without changes
|
view/images/logo32.png
CHANGED
File without changes
|
view/js/jquery.flot.js
CHANGED
File without changes
|
view/js/jquery.flot.symbol.js
CHANGED
File without changes
|
view/js/jquery.flot.time.js
CHANGED
File without changes
|
view/js/jquery.flot.togglelegend.js
CHANGED
File without changes
|
view/js/jquery.ui.datepicker.js
CHANGED
File without changes
|
view/js/sendgrid.stats.js
CHANGED
File without changes
|
view/partials/sendgrid_stats_compliance.php
CHANGED
File without changes
|
view/partials/sendgrid_stats_deliveries.php
CHANGED
File without changes
|
view/partials/sendgrid_stats_engagement.php
CHANGED
File without changes
|
view/partials/sendgrid_stats_widget.php
CHANGED
File without changes
|
view/sendgrid_contextual_help.php
CHANGED
File without changes
|
view/sendgrid_settings.php
CHANGED
@@ -63,6 +63,15 @@
|
|
63 |
<p class="description"><?php _e('Email address where replies will be returned.') ?></p>
|
64 |
</td>
|
65 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
</tbody>
|
67 |
</table>
|
68 |
<p class="submit">
|
63 |
<p class="description"><?php _e('Email address where replies will be returned.') ?></p>
|
64 |
</td>
|
65 |
</tr>
|
66 |
+
<tr valign="top">
|
67 |
+
<th scope="row"><?php _e("Categories: "); ?></th>
|
68 |
+
<td>
|
69 |
+
<input type="text" name="sendgrid_categories" value="<?php echo $categories; ?>" size="20" class="regular-text">
|
70 |
+
<span><small><em><?php _e('Leave blank to send without categories.') ?></em></small></span>
|
71 |
+
<p class="description"><?php _e('Associates the category of the email this should be logged as. <br />
|
72 |
+
Categories must be separated by commas (Example: category1, category2).') ?></p>
|
73 |
+
</td>
|
74 |
+
</tr>
|
75 |
</tbody>
|
76 |
</table>
|
77 |
<p class="submit">
|
view/sendgrid_stats.php
CHANGED
@@ -6,8 +6,16 @@
|
|
6 |
</div>
|
7 |
<div class="pull-right sendgrid-statistics-change-type">
|
8 |
<select id="sendgrid-statistics-change-type">
|
9 |
-
<option value="wordpress" selected="selected">Wordpress statistics</option>
|
10 |
<option value="general">General statistics</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
</select>
|
12 |
</div>
|
13 |
|
6 |
</div>
|
7 |
<div class="pull-right sendgrid-statistics-change-type">
|
8 |
<select id="sendgrid-statistics-change-type">
|
|
|
9 |
<option value="general">General statistics</option>
|
10 |
+
<option value="wordpress" selected="selected">Wordpress statistics</option>
|
11 |
+
<?php $categories = explode( ',', get_option('sendgrid_categories') ); ?>
|
12 |
+
<?php if ( is_array( $categories ) and count( $categories ) > 0 ): ?>
|
13 |
+
<optgroup label="Categories:">
|
14 |
+
<?php foreach ( $categories as $cateogry ): ?>
|
15 |
+
<option value="<?php echo $cateogry; ?>"><?php echo $cateogry; ?></option>
|
16 |
+
<?php endforeach; ?>
|
17 |
+
</optgroup>
|
18 |
+
<?php endif; ?>
|
19 |
</select>
|
20 |
</div>
|
21 |
|
wpsendgrid.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SendGrid
|
4 |
Plugin URI: http://wordpress.org/plugins/sendgrid-email-delivery-simplified/
|
5 |
Description: Email Delivery. Simplified. SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. SendGrid provides reliable delivery, scalability and real-time analytics along with flexible APIs that make custom integration a breeze.
|
6 |
-
Version: 1.4.
|
7 |
Author: SendGrid
|
8 |
Author URI: http://sendgrid.com
|
9 |
License: GPLv2
|
3 |
Plugin Name: SendGrid
|
4 |
Plugin URI: http://wordpress.org/plugins/sendgrid-email-delivery-simplified/
|
5 |
Description: Email Delivery. Simplified. SendGrid's cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems. SendGrid provides reliable delivery, scalability and real-time analytics along with flexible APIs that make custom integration a breeze.
|
6 |
+
Version: 1.4.5
|
7 |
Author: SendGrid
|
8 |
Author URI: http://sendgrid.com
|
9 |
License: GPLv2
|