Official MailerLite Sign Up Forms - Version 1.0.3

Version Description

  • jQuery load update
Download this release

Release Info

Developer mailerlite
Plugin Icon 128x128 Official MailerLite Sign Up Forms
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

include/mailerlite-form.php CHANGED
@@ -117,12 +117,14 @@ class MailerLite_Form {
117
  */
118
  public static function add_jquery_validation_libraries() {
119
 
120
- wp_register_script('google-hosted-jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false);
 
 
 
121
 
122
  wp_register_script('jquery-validation-plugin', 'http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.min.js', array('google-hosted-jquery'));
123
 
124
  wp_enqueue_script('google-hosted-jquery');
125
- wp_enqueue_script('jquery-validation-plugin');
126
  }
127
  }
128
 
117
  */
118
  public static function add_jquery_validation_libraries() {
119
 
120
+ if(!wp_script_is('jquery') && wp_script_is('google-hosted-jquery')) {
121
+ wp_register_script('google-hosted-jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false);
122
+ wp_enqueue_script('jquery-validation-plugin');
123
+ }
124
 
125
  wp_register_script('jquery-validation-plugin', 'http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.min.js', array('google-hosted-jquery'));
126
 
127
  wp_enqueue_script('google-hosted-jquery');
 
128
  }
129
  }
130
 
languages/{mailerlite-se_SE.mo → mailerlite-sv_SE.mo} RENAMED
File without changes
languages/{mailerlite-se_SE.po → mailerlite-sv_SE.po} RENAMED
File without changes
languages/{mailerlite-ua_UA.mo → mailerlite-uk_UA.mo} RENAMED
File without changes
languages/{mailerlite-ua_UA.po → mailerlite-uk_UA.po} RENAMED
File without changes
mailerlite.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability to embed MailerLite webforms and create custom ones just with few clicks.
6
- * Version: 1.0
7
  * Author: MailerGroup
8
  * Author URI: https://www.mailerlite.com
9
  * License: GPLv2 or later
3
  /**
4
  * Plugin Name: Official MailerLite Sign Up Forms
5
  * Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability to embed MailerLite webforms and create custom ones just with few clicks.
6
+ * Version: 1.0.2
7
  * Author: MailerGroup
8
  * Author URI: https://www.mailerlite.com
9
  * License: GPLv2 or later
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.mailerlite.com/
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
  Tested up to: 3.9
7
- Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -128,6 +128,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
128
 
129
  == Changelog ==
130
 
 
 
131
  = 1.0.2 =
132
  * Small changes
133
  = 1.0.1 =
@@ -137,6 +139,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
137
 
138
  == Upgrade Notice ==
139
 
 
 
140
  = 1.0.2 =
141
  * Small changes
142
  = 1.0.1 =
4
  Tags: mailerlite, newsletter, subscribe, form, webform
5
  Requires at least: 3.0.1
6
  Tested up to: 3.9
7
+ Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 1.0.3 =
132
+ * jQuery load update
133
  = 1.0.2 =
134
  * Small changes
135
  = 1.0.1 =
139
 
140
  == Upgrade Notice ==
141
 
142
+ = 1.0.3 =
143
+ * jQuery load update
144
  = 1.0.2 =
145
  * Small changes
146
  = 1.0.1 =