Commit eb7dc06d authored by Kevin Stover's avatar Kevin Stover

Merge branch 'release/v2.7.4'

parents aabca4de c845732a
......@@ -267,7 +267,7 @@ class NF_Subs_CPT {
// Compatibility with old field registration system. Can be removed when the new one is in place.
if ( isset ( $_GET['form_id'] ) && $_GET['form_id'] != '' ) {
$form_id = $_GET['form_id'];
if ( is_object( Ninja_Forms()->form( $form_id ) ) && is_array ( Ninja_Forms()->form( $this->form_id )->fields ) ) {
if ( is_object( Ninja_Forms()->form( $form_id ) ) && is_array ( Ninja_Forms()->form( $form_id )->fields ) ) {
foreach ( Ninja_Forms()->form( $this->form_id )->fields as $field ) {
$field_id = $field['id'];
$field_type = $field['type'];
......@@ -522,7 +522,7 @@ class NF_Subs_CPT {
public function table_filter( $query ) {
global $pagenow;
if( $pagenow == 'edit.php' && is_admin() && $query->query['post_type'] == 'nf_sub' && is_main_query() ) {
if( $pagenow == 'edit.php' && is_admin() && ( isset ( $query->query['post_type'] ) && $query->query['post_type'] == 'nf_sub' ) && is_main_query() ) {
$qv = &$query->query_vars;
......@@ -547,6 +547,11 @@ class NF_Subs_CPT {
$end_date = '';
}
if ( $begin_date > $end_date ) {
$begin_date = '';
$end_date = '';
}
if ( ! isset ( $qv['date_query'] ) ) {
$qv['date_query'] = array(
'after' => $begin_date,
......
......@@ -50,7 +50,7 @@ function ninja_forms_edit_field_desc( $field_id ) {
$options = $desc_pos_options;
}
$desc_desc = sprintf( __( 'If "desc text" is enabled, there will be a question mark %s placed next to the input field. Hovering over this question mark will show the desc text.', 'ninja-forms' ), '<img src="'.NINJA_FORMS_URL.'/images/question-ico.gif">' );
$desc_desc = sprintf( __( 'If "desc text" is enabled, there will be a question mark %s placed next to the input field. Hovering over this question mark will show the desc text.', 'ninja-forms' ), '<img src="'.NINJA_FORMS_URL.'images/question-ico.gif">' );
ninja_forms_edit_field_el_output( $field_id, 'checkbox', __( 'Add Description', 'ninja-forms' ), 'show_desc', $show_desc, 'wide', '', 'ninja-forms-show-desc' );
?>
<span id="ninja_forms_field_<?php echo $field_id;?>_desc_span" <?php echo $display_span;?>>
......
......@@ -30,7 +30,7 @@ function ninja_forms_edit_field_help($field_id){
$display_span = 'display:none;';
}
$help_desc = sprintf(__('If "help text" is enabled, there will be a question mark %s placed next to the input field. Hovering over this question mark will show the help text.', 'ninja-forms'), '<img src="'.NINJA_FORMS_URL.'/images/question-ico.gif">');
$help_desc = sprintf(__('If "help text" is enabled, there will be a question mark %s placed next to the input field. Hovering over this question mark will show the help text.', 'ninja-forms'), '<img src="'.NINJA_FORMS_URL.'images/question-ico.gif">');
ninja_forms_edit_field_el_output($field_id, 'checkbox', __( 'Show Help Text', 'ninja-forms' ), 'show_help', $show_help, 'wide', '', 'ninja-forms-show-help');
?>
<span id="ninja_forms_field_<?php echo $field_id;?>_help_span" style="<?php echo $display_span;?>">
......@@ -41,4 +41,4 @@ function ninja_forms_edit_field_help($field_id){
</span>
<?php
}
}
\ No newline at end of file
}
......@@ -183,7 +183,7 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
<input type="text" class="code widefat <?php echo $class;?>" name="<?php echo $name;?>" id="<?php echo $name;?>" value="<?php echo $value;?>" />
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php echo $help_text;?>
......@@ -198,7 +198,7 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
<input type="number" class="code <?php echo $class;?>" name="<?php echo $name;?>" id="<?php echo $name;?>" value="<?php echo $value;?>" min="<?php echo $min; ?>" max="<?php echo $max; ?>" />
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php echo $help_text;?>
......@@ -220,9 +220,9 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
</select>
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>images/callout.gif" />
<?php echo $help_text;?>
</span>
</a>
......@@ -247,7 +247,7 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
</select>
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php echo $help_text;?>
......@@ -261,9 +261,9 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
<input type="checkbox" name="<?php echo $name;?>" value="1" <?php checked($value, 1);?> id="<?php echo $name;?>" class="<?php echo $class;?>">
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>images/callout.gif" />
<?php echo $help_text;?>
</span>
</a>
......@@ -330,9 +330,9 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
<input type="radio" name="<?php echo $name;?>" value="<?php echo $option['value'];?>" id="<?php echo $name."_".$x;?>" <?php checked($value, $option['value']);?> class="<?php echo $class;?>"> <label for="<?php echo $name."_".$x;?>"><?php echo $option['name'];?></label>
<?php if( $help_text != ''){ ?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>images/callout.gif" />
<?php echo $help_text;?>
</span>
</a>
......
......@@ -98,7 +98,7 @@ function ninja_forms_tab_addons(){
'title' => __( 'Campaign Monitor', 'ninja-forms' ),
'image' => 'http://ninjaforms.com/wp-content/uploads/edd/2013/05/campaign-monitor-header-300x121.png',
'content' => __( 'The Campaign Monitor extension allows you to quickly create newsletter signup forms for your Campaign Monitor account using the power and flexibility that Ninja Forms provides. …', 'ninja-forms' ),
'link' => 'http://ninjaforms.com/downloads/mail-chimp/',
'link' => 'http://ninjaforms.com/extensions/campaign-monitor/',
'plugin' => 'ninja-forms-campaign-monitor/ninja-forms-campaign-monitor.php',
'docs' => '',
),
......
......@@ -21,10 +21,10 @@ function ninja_forms_tab_impexp_subs(){
<div class="form-section">
<label for="">
<input type="text" class="code" name="form_title" id="" value="" />
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<br />
</label>
</div>
</p>
<?php
}
\ No newline at end of file
}
......@@ -20,10 +20,10 @@ function ninja_forms_tab_fav_settings(){
<div class="form-section">
<label for="">
<input type="text" class="code" name="form_title" id="" value="" />
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<br />
</label>
</div>
</p>
<?php
}
\ No newline at end of file
}
......@@ -34,7 +34,7 @@ function ninja_forms_display_form_settings($form_id, $data){
<div id="titlediv">
<div id="titlewrap">
<label class="<?php echo $prompt_text;?>" id="title-prompt-text" for="title"><?php _e( 'Enter form title here', 'ninja-forms' ); ?></label>
<input type="text" name="form_title" size="30" value="<?php echo $form_title;?>" id="title" autocomplete="off">
<input type="text" name="form_title" size="30" value="<?php echo esc_attr($form_title); ?>" id="title" autocomplete="off">
</div>
</div>
<?php
......@@ -329,7 +329,7 @@ function ninja_forms_admin_email($form_id, $data){
<p>
<a href="#" id="ninja_forms_add_mailto_<?php echo $form_id;?>" name="" class="ninja-forms-add-mailto"><?php _e( 'Add New', 'ninja-forms' ); ?></a>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php _e( 'Please enter all the addresses this form should be sent to.', 'ninja-forms' );?>
......
......@@ -3,8 +3,8 @@
function ninja_forms_admin_css(){
$plugin_settings = nf_get_settings();
wp_enqueue_style( 'jquery-smoothness', NINJA_FORMS_URL .'/css/smoothness/jquery-smoothness.css');
wp_enqueue_style( 'ninja-forms-admin', NINJA_FORMS_URL .'/css/ninja-forms-admin.css');
wp_enqueue_style( 'jquery-smoothness', NINJA_FORMS_URL .'css/smoothness/jquery-smoothness.css');
wp_enqueue_style( 'ninja-forms-admin', NINJA_FORMS_URL .'css/ninja-forms-admin.css');
add_filter('admin_body_class', 'ninja_forms_add_class');
......@@ -38,7 +38,7 @@ function ninja_forms_admin_js(){
$date_format = ninja_forms_date_to_datepicker($date_format);
wp_enqueue_script('ninja-forms-admin',
NINJA_FORMS_URL . '/js/' . $src .'/ninja-forms-admin' . $suffix . '.js',
NINJA_FORMS_URL . 'js/' . $src .'/ninja-forms-admin' . $suffix . '.js',
array('jquery', 'jquery-ui-core', 'jquery-ui-sortable', 'jquery-ui-datepicker', 'jquery-ui-draggable', 'jquery-ui-droppable'));
wp_localize_script( 'ninja-forms-admin', 'ninja_forms_settings', array('date_format' => $date_format));
......
......@@ -159,7 +159,7 @@ function ninja_forms_display_sidebars($data){
if(isset($option['help']) AND !empty($option['help'])){
?>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php _e($option['help'], 'ninja-forms');?>
......
......@@ -23,9 +23,9 @@ function ninja_forms_display_field_help( $field_id, $data ){
if($show_help){
?>
<img class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="<?php echo $help_text;?>" alt="<?php _e( 'Help Text', 'ninja-forms' ); ?>">
<img class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="<?php echo $help_text;?>" alt="<?php _e( 'Help Text', 'ninja-forms' ); ?>">
<?php
}
}
}
add_action( 'ninja_forms_display_field_help', 'ninja_forms_display_field_help', 10, 2 );
\ No newline at end of file
add_action( 'ninja_forms_display_field_help', 'ninja_forms_display_field_help', 10, 2 );
......@@ -34,35 +34,39 @@ function ninja_forms_display_response_message( $form_id ){
$class = '';
}
echo '<div id="ninja_forms_form_' . $form_id . '_response_msg" style="' . $display . '" class="ninja-forms-response-msg '.$class.'">';
if ( isset ( $ninja_forms_processing ) && $ninja_forms_processing->get_form_ID() == $form_id ) {
if ( $class != '' ) {
echo '<div id="ninja_forms_form_' . $form_id . '_response_msg" style="' . $display . '" class="ninja-forms-response-msg '.$class.'">';
if( is_object( $ninja_forms_processing ) ){
if( $ninja_forms_processing->get_form_ID() == $form_id ){
if( $ninja_forms_processing->get_errors_by_location('general') ){
foreach($ninja_forms_processing->get_errors_by_location('general') as $error){
echo '<div>';
echo $error['msg'];
echo '</div>';
if ( isset ( $ninja_forms_processing ) && $ninja_forms_processing->get_form_ID() == $form_id ) {
if( is_object( $ninja_forms_processing ) ){
if( $ninja_forms_processing->get_form_ID() == $form_id ){
if( $ninja_forms_processing->get_errors_by_location('general') ){
foreach($ninja_forms_processing->get_errors_by_location('general') as $error){
echo '<div>';
echo $error['msg'];
echo '</div>';
}
}
}
if( $ninja_forms_processing->get_all_success_msgs()){
foreach($ninja_forms_processing->get_all_success_msgs() as $success){
echo '<div>';
echo $success;
echo '</div>';
if( $ninja_forms_processing->get_all_success_msgs()){
foreach($ninja_forms_processing->get_all_success_msgs() as $success){
echo '<div>';
echo $success;
echo '</div>';
}
}
}
}
}
}
echo '</div>';
echo '</div>';
}
}
add_action( 'ninja_forms_display_before_form', 'ninja_forms_display_response_message', 10 );
\ No newline at end of file
......@@ -28,7 +28,7 @@ function ninja_forms_display_js( $form_id, $local_vars = '' ) {
if( is_array( $fields ) AND !empty( $fields ) ){
foreach( $fields as $field ){
if ( isset ( $field['id'] ) ) {
$field_id = $field['id'];
} else {
......@@ -56,7 +56,7 @@ function ninja_forms_display_js( $form_id, $local_vars = '' ) {
if( isset( $field['data']['mask'] ) AND $field['data']['mask'] == 'currency' ){
$currency = 1;
}
}
if( isset( $field['data']['input_limit'] ) AND $field['data']['input_limit'] != '' ){
$input_limit = $field['data']['input_limit'];
......@@ -144,7 +144,7 @@ function ninja_forms_display_js( $form_id, $local_vars = '' ) {
if ( isset ( $field['data']['payment_total'] ) AND $field['data']['payment_total'] == 1 ) {
if ( $sub_total AND $tax AND $field['data']['calc_method'] == 'auto' ) {
$calc_fields[$field_id]['method'] = 'eq';
$calc_fields[$field_id]['eq'] = 'field_'.$sub_total.' + ( field_'.$sub_total.' * field_'.$tax.' )';
$calc_eq = true;
......@@ -175,31 +175,31 @@ function ninja_forms_display_js( $form_id, $local_vars = '' ) {
if ( $qtip == 1 ) {
wp_enqueue_script( 'jquery-qtip',
NINJA_FORMS_URL .'/js/min/jquery.qtip.min.js',
NINJA_FORMS_URL .'js/min/jquery.qtip.min.js',
array( 'jquery', 'jquery-ui-position' ) );
}
if ( $mask == 1 ) {
wp_enqueue_script( 'jquery-maskedinput',
NINJA_FORMS_URL .'/js/min/jquery.maskedinput.min.js',
NINJA_FORMS_URL .'js/min/jquery.maskedinput.min.js',
array( 'jquery' ) );
}
if ( $currency == 1 ) {
wp_enqueue_script('jquery-autonumeric',
NINJA_FORMS_URL .'/js/min/autoNumeric.min.js',
NINJA_FORMS_URL .'js/min/autoNumeric.min.js',
array( 'jquery' ) );
}
if ( $input_limit != 0 ) {
wp_enqueue_script('jquery-char-input-limit',
NINJA_FORMS_URL .'/js/min/word-and-character-counter.min.js',
NINJA_FORMS_URL .'js/min/word-and-character-counter.min.js',
array( 'jquery' ) );
}
if ( $rating == 1 ) {
wp_enqueue_script('jquery-rating',
NINJA_FORMS_URL .'/js/min/jquery.rating.min.js',
NINJA_FORMS_URL .'js/min/jquery.rating.min.js',
array( 'jquery' ) );
}
......@@ -249,7 +249,7 @@ function ninja_forms_display_js( $form_id, $local_vars = '' ) {
$password_mismatch = esc_html(stripslashes($plugin_settings['password_mismatch']));
$msg_format = 'inline';
wp_enqueue_script( 'ninja-forms-display',
NINJA_FORMS_URL . '/js/' . $src .'/ninja-forms-display' . $suffix . '.js',
array( 'jquery', 'jquery-form' ) );
......@@ -279,7 +279,7 @@ add_action( 'ninja_forms_display_js', 'ninja_forms_display_js', 10, 2 );
function ninja_forms_display_css(){
wp_enqueue_style( 'ninja-forms-display', NINJA_FORMS_URL .'/css/ninja-forms-display.css' );
wp_enqueue_style( 'jquery-qtip', NINJA_FORMS_URL .'/css/qtip.css' );
wp_enqueue_style( 'jquery-rating', NINJA_FORMS_URL .'/css/jquery.rating.css' );
wp_enqueue_style( 'jquery-qtip', NINJA_FORMS_URL .'css/qtip.css' );
wp_enqueue_style( 'jquery-rating', NINJA_FORMS_URL .'css/jquery.rating.css' );
}
add_action( 'ninja_forms_display_css', 'ninja_forms_display_css', 10, 2 );
This diff is collapsed.
......@@ -68,7 +68,11 @@ function ninja_forms_field_desc_display( $field_id, $data ){
$default_value = html_entity_decode( $default_value );
$default_value = wpautop( $default_value );
if($desc_el == "div"){
$default_value = wpautop( $default_value );
}else{
$default_value = nl2br( $default_value );
}
if( isset( $data['display_style'] ) ){
$display_style = $data['display_style'];
......
......@@ -90,9 +90,9 @@ function ninja_forms_field_hidden_edit($field_id, $data){
<input type="checkbox" value="1" name="ninja_forms_field_<?php echo $field_id;?>[email]" id="ninja_forms_field_<?php echo $field_id;?>_email" class="ninja-forms-hidden-email" <?php if($email == 1){ echo "checked";}?>>
</label>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>images/callout.gif" />
<?php _e( 'If this box is checked, Ninja Forms will validate this input as an email address.', 'ninja-forms' );?>
</span>
</a>
......@@ -105,7 +105,7 @@ function ninja_forms_field_hidden_edit($field_id, $data){
<input type="checkbox" value="1" name="ninja_forms_field_<?php echo $field_id;?>[send_email]" id="ninja_forms_field_<?php echo $field_id;?>_send_email" class="ninja-forms-hidden-send-email" <?php if($send_email == 1){ echo "checked";}?>>
</label>
<a href="#" class="tooltip">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>/images/question-ico.gif" title="">
<img id="" class='ninja-forms-help-text' src="<?php echo NINJA_FORMS_URL;?>images/question-ico.gif" title="">
<span>
<img class="callout" src="<?php echo NINJA_FORMS_URL;?>/images/callout.gif" />
<?php _e( 'If this box is checked, Ninja Forms will send a copy of this form (and any messages attached) to this address.', 'ninja-forms' ); ?>
......@@ -137,7 +137,7 @@ function ninja_forms_field_hidden_edit_sub( $field_id, $data ) {
$default_value = $data['default_value'];
}else{
$default_value = '';
}
}
if(isset($data['label'])){
$label = $data['label'];
......@@ -150,4 +150,4 @@ function ninja_forms_field_hidden_edit_sub( $field_id, $data ) {
</label>
<input id="ninja_forms_field_<?php echo $field_id;?>" name="ninja_forms_field_<?php echo $field_id;?>" type="text" class="<?php echo $field_class;?>" value="<?php echo $default_value;?>" rel="<?php echo $field_id;?>" />
<?php
}
\ No newline at end of file
}
......@@ -50,11 +50,16 @@ function ninja_forms_subval_sort( $a, $subkey ) {
foreach($a as $k=>$v) {
$b[$k] = strtolower($v[$subkey]);
}
asort($b);
foreach($b as $key=>$val) {
$c[] = $a[$key];
if ( is_array ( $b ) ) {
asort($b);
foreach($b as $key=>$val) {
$c[] = $a[$key];
}
return $c;
} else {
return $a;
}
return $c;
}
/**
......
......@@ -489,7 +489,7 @@ jQuery(document).ready(function(jQuery) {
}
// Make sure that our current total is made up of numbers.
if ( typeof ninja_forms_settings.currency_symbol !== 'undefined' ) {
if ( typeof ninja_forms_settings.currency_symbol !== 'undefined' && typeof current_value != 'undefined' ) {
current_value = current_value.replace( ninja_forms_settings.currency_symbol, "" );
current_value = current_value.replace( /,/g, "" );
}
......@@ -640,7 +640,7 @@ jQuery(document).ready(function(jQuery) {
}
// Make sure that our current total is made up of numbers.
if ( typeof ninja_forms_settings.currency_symbol !== 'undefined' ) {
if ( typeof ninja_forms_settings.currency_symbol !== 'undefined' && typeof current_value != 'undefined' ) {
current_value = current_value.replace( ninja_forms_settings.currency_symbol, "" );
}
if ( !isNaN( current_value ) ) {
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -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.7.3
Version: 2.7.4
Author: The WP Ninjas
Author URI: http://ninjaforms.com
Text Domain: ninja-forms
......@@ -206,7 +206,7 @@ class Ninja_Forms {
// Plugin version
if ( ! defined( 'NF_PLUGIN_VERSION' ) ) {
define( 'NF_PLUGIN_VERSION', '2.7.3' );
define( 'NF_PLUGIN_VERSION', '2.7.4' );
}
// Plugin Folder Path
......
......@@ -2,8 +2,8 @@
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
Tested up to: 3.9.1
Stable tag: 2.7.3
Tested up to: 3.9.2
Stable tag: 2.7.4
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,17 +76,21 @@ For help and video tutorials, please visit our website: [Ninja Forms Documentati
== Upgrade Notice ==
= 2.7.3 (29 July 2014) =
= 2.7.4 (08 August 2014) =
*Bugs:*
* Fixed a bug that caused the text elements to be output with encoded html tags rather than the tags themselves.
* Fixed HTML breaking issues with the Text field type when something other than div is selected
* Fixed a bug that caused empty CSV files to be emailed to the admin.
* Fixed a bug that could cause forms to stop working on Windows (IIS) servers.
* Forms without errors or success messages should no longer see the "response" message div.
*Changes:*
* List item labels can now contain HTML.
* Added Portuguese translation files.
* Added Dutch translation files.
== Requested Features ==
......@@ -94,6 +98,22 @@ If you have any feature requests, please feel free to visit [ninjaforms.com](htt
== Changelog ==
= 2.7.4 (08 August 2014) =
*Bugs:*
* Fixed HTML breaking issues with the Text field type when something other than div is selected
* Fixed a bug that could cause forms to stop working on Windows (IIS) servers.
* Forms without errors or success messages should no longer see the "response" message div.
*Changes:*
* Added Portuguese translation files.
* Added Dutch translation files.
= 2.7.3 (29 July 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