Commit acdb43ac authored by Kevin Stover's avatar Kevin Stover

Merge branch 'release/v2.8.3'

parents 97888072 45f1b689
......@@ -50,6 +50,8 @@ class NF_Convert_Notifications extends NF_Step_Processing {
dbDelta( $sql );
$email_address = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM ".NINJA_FORMS_FAV_FIELDS_TABLE_NAME." WHERE name = %s AND row_type = 0", 'Email Address' ), ARRAY_A );
if( isset($email_address['id']) ){
$sql = 'DELETE FROM `' . NINJA_FORMS_FAV_FIELDS_TABLE_NAME . '` WHERE id = ' . $email_address['id'];
$wpdb->query( $sql );
......@@ -333,7 +335,7 @@ class NF_Convert_Notifications extends NF_Step_Processing {
if ( isset ( $matches[3][ $key ] ) ) {
$atts = shortcode_parse_atts( $matches[3][ $key ] );
$id = $atts['id'];
$text = str_replace( $matches[0][ $key ], '`' . $id . '`', $text );
$text = str_replace( $matches[0][ $key ], '`field_' . $id . '`', $text );
}
}
}
......
......@@ -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.8.2
Version: 2.8.3
Author: The WP Ninjas
Author URI: http://ninjaforms.com
Text Domain: ninja-forms
......@@ -267,7 +267,7 @@ class Ninja_Forms {
// Plugin version
if ( ! defined( 'NF_PLUGIN_VERSION' ) )
define( 'NF_PLUGIN_VERSION', '2.8.2' );
define( 'NF_PLUGIN_VERSION', '2.8.3' );
// Plugin Folder Path
if ( ! defined( 'NF_PLUGIN_DIR' ) )
......
......@@ -3,7 +3,7 @@ Contributors: kstover, jameslaws, daveshine, mordauk, bftrick, helgatheviking
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.0
Stable tag: 2.8.2
Stable tag: 2.8.3
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.
......@@ -76,31 +76,32 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
== Upgrade Notice ==
= 2.8.2 (16 September 2014 ) =
= 2.8.3 (17 September 2014 ) =
*Bugs:*
* Fixed a bug that could cause emails to be sent to the user's email address, even if a notification wasn't active.
* Fixed a bug that could prevent emails from being sent if the message was empty.
* Fixed a bug with upgrades that caused submission conversion to fail.
* Fixed PHP notices.
* Fixed a bug that could cause notification conversion to crash.
*Security:*
* Version 2.8 fixes a minor security issue that could allow non-admins and other forms to delete Ninja Forms. This won't affect all users, but we encourage everyone to update.
*Changes:*
* Added a filter for success message notifications: nf_success_msg.
* Added a filter for CSV exports after labels have been added but before fields: nf_subs_csv_label_array_before_fields.
* Deprecated the old version of the success message filter.
== Requested Features ==
If you have any feature requests, please feel free to visit [ninjaforms.com](http://ninjaforms.com) and let us know about it.
== Changelog ==
= 2.8.3 (17 September 2014 ) =
*Bugs:*
* Fixed a bug that could cause notification conversion to crash.
*Security:*
* Version 2.8 fixes a minor security issue that could allow non-admins and other forms to delete Ninja Forms. This won't affect all users, but we encourage everyone to update.
= 2.8.2 (16 September 2014 ) =
*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