Version Description
- Removed new lines for some cases
Download this release
Release Info
Developer | mailerlite |
Plugin | Official MailerLite Sign Up Forms |
Version | 1.0.14 |
Comparing to | |
See all releases |
Code changes from version 1.0.13 to 1.0.14
- include/templates/forms/custom_form.php +2 -5
- include/templates/forms/embedded_form.php +1 -2
- mailerlite.php +2 -2
- readme.txt +6 -2
include/templates/forms/custom_form.php
CHANGED
@@ -13,11 +13,8 @@
|
|
13 |
$input_type = 'text';
|
14 |
} ?>
|
15 |
<div class="mailerlite-form-field">
|
16 |
-
<label
|
17 |
-
|
18 |
-
<input id="mailerlite-<?php echo $form_id; ?>-field-<?php echo $field; ?>"
|
19 |
-
type="<?php echo $input_type; ?>" required="required"
|
20 |
-
name="form_fields[<?php echo $field; ?>]"/>
|
21 |
</div>
|
22 |
<?php endforeach; ?>
|
23 |
<div class="mailerlite-form-loader"><?php _e('Please wait...', 'mailerlite'); ?></div>
|
13 |
$input_type = 'text';
|
14 |
} ?>
|
15 |
<div class="mailerlite-form-field">
|
16 |
+
<label for="mailerlite-<?php echo $form_id; ?>-field-<?php echo $field; ?>"><?php echo $title; ?></label>
|
17 |
+
<input id="mailerlite-<?php echo $form_id; ?>-field-<?php echo $field; ?>" type="<?php echo $input_type; ?>" required="required" name="form_fields[<?php echo $field; ?>]"/>
|
|
|
|
|
|
|
18 |
</div>
|
19 |
<?php endforeach; ?>
|
20 |
<div class="mailerlite-form-loader"><?php _e('Please wait...', 'mailerlite'); ?></div>
|
include/templates/forms/embedded_form.php
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
<script type="text/javascript"
|
2 |
-
src="//app.mailerlite.com/data/webforms/<?php echo $form_data['id']; ?>/<?php echo $form_data['code']; ?>.js?v=<?php echo time(); ?>"></script>
|
1 |
+
<script type="text/javascript" src="//app.mailerlite.com/data/webforms/<?php echo $form_data['id']; ?>/<?php echo $form_data['code']; ?>.js?v=<?php echo time(); ?>"></script>
|
|
mailerlite.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Official MailerLite Sign Up Forms
|
5 |
* Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability
|
6 |
* to embed MailerLite webforms and create custom ones just with few clicks.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: MailerGroup
|
9 |
* Author URI: https://www.mailerlite.com
|
10 |
* License: GPLv2 or later
|
@@ -28,7 +28,7 @@
|
|
28 |
define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
29 |
define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
|
30 |
|
31 |
-
define('MAILERLITE_VERSION', '1.0.
|
32 |
|
33 |
function mailerlite_load_plugin_textdomain()
|
34 |
{
|
4 |
* Plugin Name: Official MailerLite Sign Up Forms
|
5 |
* Description: Official MailerLite Sign Up Forms plugin for WordPress. Ability
|
6 |
* to embed MailerLite webforms and create custom ones just with few clicks.
|
7 |
+
* Version: 1.0.14
|
8 |
* Author: MailerGroup
|
9 |
* Author URI: https://www.mailerlite.com
|
10 |
* License: GPLv2 or later
|
28 |
define('MAILERLITE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
29 |
define('MAILERLITE_PLUGIN_URL', plugins_url('', __FILE__));
|
30 |
|
31 |
+
define('MAILERLITE_VERSION', '1.0.14');
|
32 |
|
33 |
function mailerlite_load_plugin_textdomain()
|
34 |
{
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mailerlite
|
|
3 |
Donate link: https://www.mailerlite.com/
|
4 |
Tags: mailerlite, newsletter, subscribe, form, webform
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.2.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -127,6 +127,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
|
|
127 |
|
128 |
== Changelog ==
|
129 |
|
|
|
|
|
130 |
= 1.0.13 =
|
131 |
* Empty form description allowed
|
132 |
= 1.0.12 =
|
@@ -158,6 +160,8 @@ Add your custom CSS rules to the end of your theme stylesheet, /wp-content/theme
|
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
|
|
|
|
161 |
= 1.0.13 =
|
162 |
* Empty form description allowed
|
163 |
= 1.0.12 =
|
3 |
Donate link: https://www.mailerlite.com/
|
4 |
Tags: mailerlite, newsletter, subscribe, form, webform
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.2.3
|
7 |
+
Stable tag: 1.0.14
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
127 |
|
128 |
== Changelog ==
|
129 |
|
130 |
+
= 1.0.14 =
|
131 |
+
* Removed new lines for some cases
|
132 |
= 1.0.13 =
|
133 |
* Empty form description allowed
|
134 |
= 1.0.12 =
|
160 |
|
161 |
== Upgrade Notice ==
|
162 |
|
163 |
+
= 1.0.14 =
|
164 |
+
* Removed new lines for some cases
|
165 |
= 1.0.13 =
|
166 |
* Empty form description allowed
|
167 |
= 1.0.12 =
|