SendGrid - Version 1.10.1

Version Description

  • Fixed a javascript error and a PHP warning
Download this release

Release Info

Developer team-rs
Plugin Icon 128x128 SendGrid
Version 1.10.1
Comparing to
See all releases

Code changes from version 1.10.0 to 1.10.1

lib/class-sendgrid-settings.php CHANGED
@@ -11,6 +11,8 @@ class Sendgrid_Settings {
11
  const DEFAULT_SIGNUP_EMAIL_CONTENT = '<p>Greetings!</p>

<p>Please click <a href="%confirmation_link%">here</a> in order to subscribe to our newsletter!</p>

<p>Thank you,</p>
<p>';
12
  const DEFAULT_SIGNUP_EMAIL_CONTENT_TEXT = 'Greetings!

Please open %confirmation_link% in order to subscribe to our newsletter!

Thank you,
';
13
 
 
 
14
  /**
15
  * Settings class constructor
16
  *
@@ -20,6 +22,7 @@ class Sendgrid_Settings {
20
  */
21
  public function __construct( $plugin_directory )
22
  {
 
23
  add_action( 'init', array( __CLASS__, 'set_up_menu' ) );
24
  }
25
 
@@ -34,7 +37,7 @@ class Sendgrid_Settings {
34
  // Add SendGrid settings page in the menu
35
  add_action( 'admin_menu', array( __CLASS__, 'add_settings_menu' ) );
36
  // Add SendGrid settings page in the plugin list
37
- add_filter( 'plugin_action_links_' . $plugin_directory, array( __CLASS__, 'add_settings_link' ) );
38
  // Add SendGrid Help contextual menu in the settings page
39
  add_filter( 'contextual_help', array( __CLASS__, 'show_contextual_help' ), 10, 3 );
40
  // Add SendGrid javascripts in header
11
  const DEFAULT_SIGNUP_EMAIL_CONTENT = '<p>Greetings!</p>

<p>Please click <a href="%confirmation_link%">here</a> in order to subscribe to our newsletter!</p>

<p>Thank you,</p>
<p>';
12
  const DEFAULT_SIGNUP_EMAIL_CONTENT_TEXT = 'Greetings!

Please open %confirmation_link% in order to subscribe to our newsletter!

Thank you,
';
13
 
14
+ public static $plugin_directory;
15
+
16
  /**
17
  * Settings class constructor
18
  *
22
  */
23
  public function __construct( $plugin_directory )
24
  {
25
+ self::$plugin_directory = $plugin_directory;
26
  add_action( 'init', array( __CLASS__, 'set_up_menu' ) );
27
  }
28
 
37
  // Add SendGrid settings page in the menu
38
  add_action( 'admin_menu', array( __CLASS__, 'add_settings_menu' ) );
39
  // Add SendGrid settings page in the plugin list
40
+ add_filter( 'plugin_action_links_' . self::$plugin_directory, array( __CLASS__, 'add_settings_link' ) );
41
  // Add SendGrid Help contextual menu in the settings page
42
  add_filter( 'contextual_help', array( __CLASS__, 'show_contextual_help' ), 10, 3 );
43
  // Add SendGrid javascripts in header
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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: 4.2
6
  Tested up to: 4.6
7
- Stable tag: 1.10.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -255,6 +255,8 @@ The settings for all sites in the network can be configured only by the Network
255
 
256
  == Changelog ==
257
 
 
 
258
  = 1.10.0 =
259
  * Added basic Multisite functionality
260
  * WARNING: Multisite users need to network activate this plugin and reconfigure it.
@@ -383,6 +385,8 @@ The settings for all sites in the network can be configured only by the Network
383
 
384
  == Upgrade notice ==
385
 
 
 
386
  = 1.10.0 =
387
  * Added basic Multisite functionality
388
  * WARNING: Multisite users need to network activate this plugin and reconfigure it.
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: 4.2
6
  Tested up to: 4.6
7
+ Stable tag: 1.10.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
255
 
256
  == Changelog ==
257
 
258
+ = 1.10.1 =
259
+ * Fixed a javascript error and a PHP warning
260
  = 1.10.0 =
261
  * Added basic Multisite functionality
262
  * WARNING: Multisite users need to network activate this plugin and reconfigure it.
385
 
386
  == Upgrade notice ==
387
 
388
+ = 1.10.1 =
389
+ * Fixed a javascript error and a PHP warning
390
  = 1.10.0 =
391
  * Added basic Multisite functionality
392
  * WARNING: Multisite users need to network activate this plugin and reconfigure it.
view/css/sendgrid.css CHANGED
@@ -80,7 +80,7 @@
80
  .sendgrid-filters label {
81
  display: inline-block;
82
  height: 18px;
83
- width: 60px;
84
  margin-left: 5px;
85
  }
86
 
@@ -89,7 +89,7 @@
89
  }
90
 
91
  .sendgrid-filters #sendgrid-start-date, .sendgrid-filters #sendgrid-end-date {
92
- width: 86px;
93
  margin-top: 5px;
94
  }
95
 
80
  .sendgrid-filters label {
81
  display: inline-block;
82
  height: 18px;
83
+ width: 65px;
84
  margin-left: 5px;
85
  }
86
 
89
  }
90
 
91
  .sendgrid-filters #sendgrid-start-date, .sendgrid-filters #sendgrid-end-date {
92
+ width: 95px;
93
  margin-top: 5px;
94
  }
95
 
view/js/sendgrid.stats-v1.7.3.js CHANGED
@@ -109,7 +109,7 @@ jQuery(document).ready(function($) {
109
 
110
  /* Get stats from request */
111
  response = jQuery.parseJSON(response);
112
- if (undefined != response.error) {
113
  response = [];
114
  }
115
  jQuery.each(response, function(key, value) {
109
 
110
  /* Get stats from request */
111
  response = jQuery.parseJSON(response);
112
+ if (undefined != response.errors) {
113
  response = [];
114
  }
115
  jQuery.each(response, function(key, value) {
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.10.0
7
  Author: SendGrid
8
  Author URI: http://sendgrid.com
9
  Text Domain: sendgrid-email-delivery-simplified
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.10.1
7
  Author: SendGrid
8
  Author URI: http://sendgrid.com
9
  Text Domain: sendgrid-email-delivery-simplified