Commit 7b458534 authored by Kevin Stover's avatar Kevin Stover

Merge branch 'release/v2.8.1'

parents 165b6d5b 22f5d702
......@@ -2,7 +2,7 @@
[Contributors](https://github.com/wpninjas/ninja-forms/graphs/contributors)
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.6
Requires at least: 3.8
Tested up to: 4.0
Stable tag: 2.8
License: GPLv2 or later
......
This diff is collapsed.
......@@ -166,10 +166,11 @@ function ninja_forms_tab_form_list($form_id, $data){
$date_updated = $all_forms[$i]['date_updated'];
$date_updated = strtotime( $date_updated );
$date_updated = date_i18n( __( 'F d, Y', 'ninja-forms' ), $date_updated );
$edit_link = esc_url( add_query_arg( array( 'tab' => 'form_settings', 'form_id' => $form_id ) ) );
$link = remove_query_arg( array( 'paged' ) );
$edit_link = esc_url( add_query_arg( array( 'tab' => 'form_settings', 'form_id' => $form_id ), $link ) );
$subs_link = admin_url( 'edit.php?post_status=all&post_type=nf_sub&action=-1&m=0&form_id=' . $form_id . '&paged=1&mode=list&action2=-1' );
$export_link = esc_url( add_query_arg( array( 'export_form' => 1, 'form_id' => $form_id ) ) );
$duplicate_link = esc_url( add_query_arg( array( 'duplicate_form' => 1, 'form_id' => $form_id ) ) );
$export_link = esc_url( add_query_arg( array( 'export_form' => 1, 'form_id' => $form_id ), $link ) );
$duplicate_link = esc_url( add_query_arg( array( 'duplicate_form' => 1, 'form_id' => $form_id ), $link ) );
$shortcode = apply_filters ( "ninja_forms_form_list_shortcode", "[ninja_forms_display_form id=" . $form_id . "]", $form_id );
$template_function = apply_filters ( "ninja_forms_form_list_template_function", "<pre>if( function_exists( 'ninja_forms_display_form' ) ){ ninja_forms_display_form( " . "$form_id" . " ); }</pre>", $form_id );
?>
......
......@@ -49,6 +49,15 @@ class NF_Convert_Notifications extends NF_Step_Processing {
dbDelta( $sql );
if( isset($email_address['id']) ){
$sql = 'DELETE FROM `' . NINJA_FORMS_FAV_FIELDS_TABLE_NAME . '` WHERE id = ' . $email_address['id'];
$wpdb->query( $sql );
}
$sql = 'INSERT INTO `'.NINJA_FORMS_FAV_FIELDS_TABLE_NAME.'` (`id`, `row_type`, `type`, `order`, `data`, `name`) VALUES
(1, 0, \'_text\', 0, \'a:11:{s:5:\"label\";s:13:\"Email Address\";s:9:\"label_pos\";s:4:\"left\";s:13:\"default_value\";s:0:\"\";s:4:\"mask\";s:0:\"\";s:10:\"datepicker\";s:1:\"0\";s:5:\"email\";s:1:\"1\";s:10:\"send_email\";s:1:\"0\";s:3:\"req\";s:1:\"0\";s:5:\"class\";s:0:\"\";s:9:\"show_help\";s:1:\"0\";s:9:\"help_text\";s:0:\"\";}\', \'Email Address\')';
$wpdb->query($sql);
// Get our total number of forms.
$form_count = nf_get_form_count();
......@@ -293,6 +302,7 @@ class NF_Convert_Notifications extends NF_Step_Processing {
unset( $form_settings['success_msg'] );
unset( $form_settings['user_email_msg'] );
unset( $form_settings['user_subject'] );
unset( $form_settings['landing_page'] );
$args = array(
'update_array' => array(
......
......@@ -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
Version: 2.8.1
Author: The WP Ninjas
Author URI: http://ninjaforms.com
Text Domain: ninja-forms
......@@ -266,7 +266,7 @@ class Ninja_Forms {
// Plugin version
if ( ! defined( 'NF_PLUGIN_VERSION' ) )
define( 'NF_PLUGIN_VERSION', '2.8' );
define( 'NF_PLUGIN_VERSION', '2.8.1' );
// Plugin Folder Path
if ( ! defined( 'NF_PLUGIN_DIR' ) )
......
=== Ninja Forms ===
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.7
Requires at least: 3.8
Tested up to: 4.0
Stable tag: 2.8
License: GPLv2 or later
......@@ -76,22 +76,15 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
== Upgrade Notice ==
= 2.8 (14 September 2014) =
*Features:*
= 2.8.1 (14 September 2014 ) =
* New, simpler system for creating custom notifications.
* Send any number of emails per form submission.
* Easily redirect the user to a page or display a custom success message.
*Changes:*
*Bugs:*
* Changed the "Save Form Settings" button to "Save."
* Fixed a bug that could cause emails to be sent to the user's email address, even if a notification wasn't active.
*Bugs:*
*Security:*
* Fixed PHP notices.
* Fixed some possible security vulnerabilites within the admin.
* 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.
== Requested Features ==
......@@ -99,8 +92,18 @@ If you have any feature requests, please feel free to visit [ninjaforms.com](htt
== Changelog ==
= 2.8.1 (14 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.
= 2.8 (14 September 2014) =
*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.
*Features:*
* New, simpler system for creating custom notifications.
......@@ -114,7 +117,6 @@ If you have any feature requests, please feel free to visit [ninjaforms.com](htt
*Bugs:*
* Fixed PHP notices.
* Fixed some possible security vulnerabilites within the admin.
= 2.7.7 (19 August 2014) =
......
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