Version Description
(3 April 2019) =
Bugs:
- Resolved several issues that sometimes caused notices to be logged on newer versions of php.
- Changed the priority of the redirect action so that it should always fire last.
- Calculations should now have more consistent results when numbers are input in international formats.
- Resolved an error that was causing form submission to fail on some php versions.
Changes:
- The following field types have been deprecated: Product, Quantity, Shipping, Total.
=
Download this release
Release Info
Developer | krmoorhouse |
Plugin | Ninja Forms – The Easy and Powerful Forms Builder |
Version | 3.4.7 |
Comparing to | |
See all releases |
Code changes from version 3.4.6 to 3.4.7
- deprecated/ninja-forms.php +1 -1
- includes/Handlers/LocaleNumberFormatting.php +9 -3
- ninja-forms.php +2 -2
- readme.txt +9 -2
deprecated/ninja-forms.php
CHANGED
@@ -265,7 +265,7 @@ class Ninja_Forms {
|
|
265 |
|
266 |
// Plugin version
|
267 |
if ( ! defined( 'NF_PLUGIN_VERSION' ) )
|
268 |
-
define( 'NF_PLUGIN_VERSION', '3.4.
|
269 |
|
270 |
// Plugin Folder Path
|
271 |
if ( ! defined( 'NF_PLUGIN_DIR' ) )
|
265 |
|
266 |
// Plugin version
|
267 |
if ( ! defined( 'NF_PLUGIN_VERSION' ) )
|
268 |
+
define( 'NF_PLUGIN_VERSION', '3.4.7' );
|
269 |
|
270 |
// Plugin Folder Path
|
271 |
if ( ! defined( 'NF_PLUGIN_DIR' ) )
|
includes/Handlers/LocaleNumberFormatting.php
CHANGED
@@ -15,7 +15,9 @@ class NF_Handlers_LocaleNumberFormatting
|
|
15 |
return new self($wp_locale);
|
16 |
}
|
17 |
|
18 |
-
public function locale_decode_number(
|
|
|
|
|
19 |
|
20 |
$thousands_sep = $this->locale->number_format['thousands_sep'];
|
21 |
|
@@ -68,7 +70,9 @@ class NF_Handlers_LocaleNumberFormatting
|
|
68 |
return $formatted;
|
69 |
}
|
70 |
|
71 |
-
public function locale_encode_number(
|
|
|
|
|
72 |
// Decode our input value.
|
73 |
$number = $this->locale_decode_number( $number );
|
74 |
// Exit early if NaN.
|
@@ -94,7 +98,9 @@ class NF_Handlers_LocaleNumberFormatting
|
|
94 |
return number_format( $number, $precision, $decimal_point, $thousands_sep );
|
95 |
}
|
96 |
|
97 |
-
public function locale_decode_equation(
|
|
|
|
|
98 |
$result = '';
|
99 |
$expression = '';
|
100 |
$pattern = '/[0-9.,]/';
|
15 |
return new self($wp_locale);
|
16 |
}
|
17 |
|
18 |
+
public function locale_decode_number( $number ) {
|
19 |
+
// Be sure we have a string.
|
20 |
+
$number = strval( $number );
|
21 |
|
22 |
$thousands_sep = $this->locale->number_format['thousands_sep'];
|
23 |
|
70 |
return $formatted;
|
71 |
}
|
72 |
|
73 |
+
public function locale_encode_number( $number, $decimal = null, $thousand = null ) {
|
74 |
+
// Be sure we have a string.
|
75 |
+
$number = strval( $number );
|
76 |
// Decode our input value.
|
77 |
$number = $this->locale_decode_number( $number );
|
78 |
// Exit early if NaN.
|
98 |
return number_format( $number, $precision, $decimal_point, $thousands_sep );
|
99 |
}
|
100 |
|
101 |
+
public function locale_decode_equation( $eq ) {
|
102 |
+
// Be sure we have a string.
|
103 |
+
$eq = strval( $eq );
|
104 |
$result = '';
|
105 |
$expression = '';
|
106 |
$pattern = '/[0-9.,]/';
|
ninja-forms.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ninja Forms
|
4 |
Plugin URI: http://ninjaforms.com/
|
5 |
Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
|
6 |
-
Version: 3.4.
|
7 |
Author: The WP Ninjas
|
8 |
Author URI: http://ninjaforms.com
|
9 |
Text Domain: ninja-forms
|
@@ -59,7 +59,7 @@ if( get_option( 'ninja_forms_load_deprecated', FALSE ) && ! ( isset( $_POST[ 'nf
|
|
59 |
* @since 3.0
|
60 |
*/
|
61 |
|
62 |
-
const VERSION = '3.4.
|
63 |
|
64 |
/**
|
65 |
* @since 3.4.0
|
3 |
Plugin Name: Ninja Forms
|
4 |
Plugin URI: http://ninjaforms.com/
|
5 |
Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
|
6 |
+
Version: 3.4.7
|
7 |
Author: The WP Ninjas
|
8 |
Author URI: http://ninjaforms.com
|
9 |
Text Domain: ninja-forms
|
59 |
* @since 3.0
|
60 |
*/
|
61 |
|
62 |
+
const VERSION = '3.4.7';
|
63 |
|
64 |
/**
|
65 |
* @since 3.4.0
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpninjasllc, kstover, jameslaws, kbjohnson90, klhall1987, krmoorho
|
|
3 |
Tags: form, forms, contact form, custom form, form builder, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation, form administration,
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.1
|
6 |
-
Stable tag: 3.4.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Drag and drop fields in an intuitive UI to create contact forms, email subscription forms, order forms, payment forms, send emails and more!
|
@@ -111,13 +111,14 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
|
|
111 |
|
112 |
== Upgrade Notice ==
|
113 |
|
114 |
-
= 3.4.
|
115 |
|
116 |
*Bugs:*
|
117 |
|
118 |
* Resolved several issues that sometimes caused notices to be logged on newer versions of php.
|
119 |
* Changed the priority of the redirect action so that it should always fire last.
|
120 |
* Calculations should now have more consistent results when numbers are input in international formats.
|
|
|
121 |
|
122 |
*Changes:*
|
123 |
|
@@ -125,6 +126,12 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
|
|
125 |
|
126 |
== Changelog ==
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
= 3.4.6 (2 April 2019) =
|
129 |
|
130 |
*Bugs:*
|
3 |
Tags: form, forms, contact form, custom form, form builder, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation, form administration,
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.1
|
6 |
+
Stable tag: 3.4.7
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Drag and drop fields in an intuitive UI to create contact forms, email subscription forms, order forms, payment forms, send emails and more!
|
111 |
|
112 |
== Upgrade Notice ==
|
113 |
|
114 |
+
= 3.4.7 (3 April 2019) =
|
115 |
|
116 |
*Bugs:*
|
117 |
|
118 |
* Resolved several issues that sometimes caused notices to be logged on newer versions of php.
|
119 |
* Changed the priority of the redirect action so that it should always fire last.
|
120 |
* Calculations should now have more consistent results when numbers are input in international formats.
|
121 |
+
* Resolved an error that was causing form submission to fail on some php versions.
|
122 |
|
123 |
*Changes:*
|
124 |
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 3.4.7 (3 April 2019) =
|
130 |
+
|
131 |
+
*Bugs:*
|
132 |
+
|
133 |
+
* Resolved an error that was causing form submission to fail on some php versions.
|
134 |
+
|
135 |
= 3.4.6 (2 April 2019) =
|
136 |
|
137 |
*Bugs:*
|