Version Description
(22 September 2020) =
Bugs:
- Resolved an issue that was causing a fatal error on sites running PHP 5.6 or older.
=
Download this release
Release Info
Developer | krmoorhouse |
Plugin | Ninja Forms – The Easy and Powerful Forms Builder |
Version | 3.4.30 |
Comparing to | |
See all releases |
Code changes from version 3.4.29 to 3.4.30
- blocks/bootstrap.php +3 -3
- blocks/ninja-forms-blocks.php +0 -5
- deprecated/ninja-forms.php +1 -1
- ninja-forms.php +3 -3
- readme.txt +8 -26
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
blocks/bootstrap.php
CHANGED
@@ -8,7 +8,7 @@ add_action('init', function () {
|
|
8 |
* Form Block
|
9 |
*/
|
10 |
// automatically load dependencies and version
|
11 |
-
$block_asset_file = include dirname(__DIR__
|
12 |
$block = (array)json_decode(file_get_contents(__DIR__ . '/form/block.json'), true);
|
13 |
|
14 |
wp_register_script(
|
@@ -37,7 +37,7 @@ add_action('init', function () {
|
|
37 |
$publicKey = NinjaForms\Blocks\Authentication\KeyFactory::make();
|
38 |
|
39 |
// automatically load dependencies and version
|
40 |
-
$block_asset_file = include dirname(__DIR__
|
41 |
wp_register_script(
|
42 |
'ninja-forms/submissions-table/block',
|
43 |
plugins_url('../build/sub-table-block.js', __FILE__),
|
@@ -49,7 +49,7 @@ add_action('init', function () {
|
|
49 |
'token' => $token->create($publicKey),
|
50 |
]);
|
51 |
|
52 |
-
$render_asset_file = include dirname(__DIR__
|
53 |
wp_register_script(
|
54 |
'ninja-forms/submissions-table/render',
|
55 |
plugins_url('../build/sub-table-render.js', __FILE__),
|
8 |
* Form Block
|
9 |
*/
|
10 |
// automatically load dependencies and version
|
11 |
+
$block_asset_file = include dirname(__DIR__) . '/build/form-block.asset.php';
|
12 |
$block = (array)json_decode(file_get_contents(__DIR__ . '/form/block.json'), true);
|
13 |
|
14 |
wp_register_script(
|
37 |
$publicKey = NinjaForms\Blocks\Authentication\KeyFactory::make();
|
38 |
|
39 |
// automatically load dependencies and version
|
40 |
+
$block_asset_file = include dirname(__DIR__) . '/build/sub-table-block.asset.php';
|
41 |
wp_register_script(
|
42 |
'ninja-forms/submissions-table/block',
|
43 |
plugins_url('../build/sub-table-block.js', __FILE__),
|
49 |
'token' => $token->create($publicKey),
|
50 |
]);
|
51 |
|
52 |
+
$render_asset_file = include dirname(__DIR__) . '/build/sub-table-render.asset.php';
|
53 |
wp_register_script(
|
54 |
'ninja-forms/submissions-table/render',
|
55 |
plugins_url('../build/sub-table-render.js', __FILE__),
|
blocks/ninja-forms-blocks.php
CHANGED
@@ -23,9 +23,4 @@ if(file_exists($autoloader = dirname(__DIR__) . '/vendor/autoload.php')) {
|
|
23 |
return;
|
24 |
}
|
25 |
|
26 |
-
// Check for PHP version compatibility.
|
27 |
-
if (!version_compare(PHP_VERSION, '7.1.0', '>=')) {
|
28 |
-
return;
|
29 |
-
}
|
30 |
-
|
31 |
include_once plugin_dir_path(__FILE__) . '/bootstrap.php';
|
23 |
return;
|
24 |
}
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
include_once plugin_dir_path(__FILE__) . '/bootstrap.php';
|
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.30' );
|
269 |
|
270 |
// Plugin Folder Path
|
271 |
if ( ! defined( 'NF_PLUGIN_DIR' ) )
|
ninja-forms.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ninja Forms
|
4 |
Plugin URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=readme
|
5 |
Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
|
6 |
-
Version: 3.4.
|
7 |
Author: Saturday Drive
|
8 |
Author URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=Plugins+WP+Dashboard
|
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
|
@@ -351,7 +351,7 @@ if( get_option( 'ninja_forms_load_deprecated', FALSE ) && ! ( isset( $_POST[ 'nf
|
|
351 |
* Blocks
|
352 |
*/
|
353 |
|
354 |
-
require_once Ninja_Forms
|
355 |
|
356 |
/*
|
357 |
* Submission Metabox
|
3 |
Plugin Name: Ninja Forms
|
4 |
Plugin URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=readme
|
5 |
Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
|
6 |
+
Version: 3.4.30
|
7 |
Author: Saturday Drive
|
8 |
Author URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=Plugins+WP+Dashboard
|
9 |
Text Domain: ninja-forms
|
59 |
* @since 3.0
|
60 |
*/
|
61 |
|
62 |
+
const VERSION = '3.4.30';
|
63 |
|
64 |
/**
|
65 |
* @since 3.4.0
|
351 |
* Blocks
|
352 |
*/
|
353 |
|
354 |
+
require_once Ninja_Forms::$dir . 'blocks/ninja-forms-blocks.php';
|
355 |
|
356 |
/*
|
357 |
* Submission Metabox
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpninjasllc, kstover, jameslaws, kbjohnson90, klhall1987, krmoorho
|
|
3 |
Tags: forms, contact form, email form, form builder, custom form, pdf form, registration form, payment form, login form, contact me, signature form, upload form, file upload form, conditional form, feedback form, appointment form, quote form, survey form, contact button, signup form, form plugin, contact form plugin, subscription form, email subscription form, newsletter form, donation form, booking form, quote request form, multi page form, conditional logic form, subscription form, application form, employment verification form, star rating form, rating form, event form, mailchimp form, campaign monitor form, constant contact form, mailpoet form, aweber form, cleverreach form, emma form, convertkit form, active campaign form, salesforce form, zoho form, capsule form, insightly form, pipelinedeals form, onepagecrm form
|
4 |
Requires at least: 5.3
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 3.4.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
The 100% beginner friendly WordPress form builder. Drag & drop form fields to build beautiful, professional contact forms in minutes.
|
@@ -303,37 +303,19 @@ This section describes how to install the plugin and get it working.
|
|
303 |
|
304 |
== Upgrade Notice ==
|
305 |
|
306 |
-
= 3.4.
|
307 |
-
|
308 |
-
*Changes:*
|
309 |
-
|
310 |
-
* The Views Table Block has arrived!
|
311 |
-
* Updated the Ninja Forms Block to be more in-line with current Gutenberg conventions.
|
312 |
-
* Improved the efficiency of submission limit checks.
|
313 |
-
* The SendWP service can now be linked to the Ninja Forms dashboard.
|
314 |
-
* Apps & Integrations are now grouped by category for easier sorting.
|
315 |
-
* Updated color contrast of the form builder to be WCAG compliant.
|
316 |
-
* Custom Action now requires developer mode to be enabled.
|
317 |
-
* Updated the File Upload form template.
|
318 |
|
319 |
*Bugs:*
|
320 |
|
321 |
-
*
|
322 |
-
* Cleaned up some improperly escaped code on our get help page.
|
323 |
-
* Updated graphics associated with our add-ons to make them display properly.
|
324 |
-
* Corrected an issue that was causing the password field on our settings page to not properly save values.
|
325 |
-
* Increased the priority of our form builder class to ensure it properly loads over other elements on the page.
|
326 |
-
* Field duplication no longer improperly updates the target of calculations.
|
327 |
-
* Corrected the order of our submenu items.
|
328 |
-
* Added missing dependency for our blocks.
|
329 |
|
330 |
-
|
331 |
|
332 |
-
|
333 |
-
* Patched a validation bypass vulnerability in our email field.
|
334 |
-
* Added escaping for HTML content of fields in the submissions table.
|
335 |
|
336 |
-
|
|
|
|
|
337 |
|
338 |
= 3.4.29 (18 September 2020) =
|
339 |
|
3 |
Tags: forms, contact form, email form, form builder, custom form, pdf form, registration form, payment form, login form, contact me, signature form, upload form, file upload form, conditional form, feedback form, appointment form, quote form, survey form, contact button, signup form, form plugin, contact form plugin, subscription form, email subscription form, newsletter form, donation form, booking form, quote request form, multi page form, conditional logic form, subscription form, application form, employment verification form, star rating form, rating form, event form, mailchimp form, campaign monitor form, constant contact form, mailpoet form, aweber form, cleverreach form, emma form, convertkit form, active campaign form, salesforce form, zoho form, capsule form, insightly form, pipelinedeals form, onepagecrm form
|
4 |
Requires at least: 5.3
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 3.4.30
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
The 100% beginner friendly WordPress form builder. Drag & drop form fields to build beautiful, professional contact forms in minutes.
|
303 |
|
304 |
== Upgrade Notice ==
|
305 |
|
306 |
+
= 3.4.30 (22 September 2020) =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
|
308 |
*Bugs:*
|
309 |
|
310 |
+
* Resolved an issue that was causing a fatal error on sites running PHP 5.6 or older.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
+
== Changelog ==
|
313 |
|
314 |
+
= 3.4.30 (22 September 2020) =
|
|
|
|
|
315 |
|
316 |
+
*Bugs:*
|
317 |
+
|
318 |
+
* Resolved an issue that was causing a fatal error on sites running PHP 5.6 or older.
|
319 |
|
320 |
= 3.4.29 (18 September 2020) =
|
321 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitda405e2aeb4549bd2f6308bccb86e33a::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit70c50760e196c2ff91afb2279bac5f30
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitda405e2aeb4549bd2f6308bccb86e33a
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitda405e2aeb4549bd2f6308bccb86e33a', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitda405e2aeb4549bd2f6308bccb86e33a', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitda405e2aeb4549bd2f6308bccb86e33a::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'N' =>
|
@@ -36,9 +36,9 @@ class ComposerStaticInit70c50760e196c2ff91afb2279bac5f30
|
|
36 |
public static function getInitializer(ClassLoader $loader)
|
37 |
{
|
38 |
return \Closure::bind(function () use ($loader) {
|
39 |
-
$loader->prefixLengthsPsr4 =
|
40 |
-
$loader->prefixDirsPsr4 =
|
41 |
-
$loader->classMap =
|
42 |
|
43 |
}, null, ClassLoader::class);
|
44 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitda405e2aeb4549bd2f6308bccb86e33a
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'N' =>
|
36 |
public static function getInitializer(ClassLoader $loader)
|
37 |
{
|
38 |
return \Closure::bind(function () use ($loader) {
|
39 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitda405e2aeb4549bd2f6308bccb86e33a::$prefixLengthsPsr4;
|
40 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitda405e2aeb4549bd2f6308bccb86e33a::$prefixDirsPsr4;
|
41 |
+
$loader->classMap = ComposerStaticInitda405e2aeb4549bd2f6308bccb86e33a::$classMap;
|
42 |
|
43 |
}, null, ClassLoader::class);
|
44 |
}
|