Commit 55e23864 authored by Kevin Stover's avatar Kevin Stover

Merge branch 'release/v2.9.2'

parents 9bf47f36 459a3518
......@@ -4,7 +4,7 @@
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,
Requires at least: 3.8
Tested up to: 4.1.1
Stable tag: 2.9
Stable tag: 2.9.2
License: GPLv2 or later
Forms created with a simple drag and drop interface. Contact forms, Email collection forms, or any other form you want on your WordPress site.
......
......@@ -69,6 +69,12 @@ add_action( 'wp_head', 'ninja_forms_clear_transient' );
function ninja_forms_page_append_check(){
global $post, $ninja_forms_append_page_form_id;
if ( ! empty ( $_REQUEST['preview'] ) && ! empty ( $_REQUEST['preview'] ) ) {
if(is_array($ninja_forms_append_page_form_id)){
unset($ninja_forms_append_page_form_id);
}
}
if(!isset($ninja_forms_append_page_form_id)){
$ninja_forms_append_page_form_id = array();
}
......
......@@ -9,6 +9,7 @@ function ninja_forms_post_process(){
if(!$ninja_forms_processing->get_all_errors()){
do_action('ninja_forms_post_process');
$json = ninja_forms_json_response();
if( !$ninja_forms_processing->get_all_errors() ){
......
......@@ -3,7 +3,7 @@
Plugin Name: Ninja Forms
Plugin URI: http://ninjaforms.com/
Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
Version: 2.9.1
Version: 2.9.2
Author: The WP Ninjas
Author URI: http://ninjaforms.com
Text Domain: ninja-forms
......@@ -284,7 +284,7 @@ class Ninja_Forms {
// Plugin version
if ( ! defined( 'NF_PLUGIN_VERSION' ) )
define( 'NF_PLUGIN_VERSION', '2.9.1' );
define( 'NF_PLUGIN_VERSION', '2.9.2' );
// Plugin Folder Path
if ( ! defined( 'NF_PLUGIN_DIR' ) )
......
......@@ -3,7 +3,7 @@ Contributors: wpninjasllc, kstover, jameslaws, wpnzach, daveshine, mordauk, bftr
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,
Requires at least: 3.8
Tested up to: 4.1.1
Stable tag: 2.9.1
Stable tag: 2.9.2
License: GPLv2 or later
Forms created with a simple drag and drop interface. Contact forms, Email collection forms, or any other form you want on your WordPress site.
......@@ -74,7 +74,7 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
== Upgrade Notice ==
= 2.9.1 (3 March 2015) =
= 2.9.2 (3 March 2015) =
*Changes:*
......@@ -84,6 +84,8 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
*Bugs:*
* Preview pages should now always display properly.
* Success messages should now always be shown after submission properly.
* Fixed a bug that could cause a PHP notice to show in placeholders.
* Fixed a bug that could cause forms not to display properly when added via the "append to page" option.
* Fixed a major bug that could prevent longer forms from saving properly. Previous fixes required modifying a php.ini file.
......@@ -98,7 +100,14 @@ If you have any feature requests, please feel free to visit [ninjaforms.com](htt
== Changelog ==
= 2.9.1 (3 March 2015 ) =
= 2.9.2 (3 March 2015) =
*Bugs:*
* Preview pages should now always display properly.
* Success messages should now always be shown after submission properly.
= 2.9.1 (3 March 2015) =
*Bugs:*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment