Plugin Directory

Changeset 2556757


Ignore:
Timestamp:
07/01/2021 06:45:01 AM (5 years ago)
Author:
codup
Message:

Some Fields were not saving on cf7.

Location:
codup-wp-freshsales/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • codup-wp-freshsales/trunk/includes/class-codup-freshsales-cf.php

    r2195380 r2556757  
    274274            $fields_filter_cf  = filter_input( INPUT_POST, 'wpcf7-freshsales', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
    275275            $company_settings  = array_map( 'sanitize_text_field', wp_unslash( $settings['company'] ) );
     276            $custom_settings   = array_map( 'sanitize_text_field', wp_unslash( $settings['custom_field'] ) );
    276277            $fields            = array_map( 'sanitize_text_field', wp_unslash( $fields_filter_cf ) );
    277278            $fields['company'] = $company_settings;
     279            $fields['custom_field'] = $custom_settings;
    278280            $form_settings     = apply_filters( 'cwpfs_form_settings', $fields, $form_id );
    279281            return $form_settings;
  • codup-wp-freshsales/trunk/includes/class-codup-freshsales-ff.php

    r2195380 r2556757  
    122122            $fields_filter_ff  = filter_input( INPUT_POST, 'wpff-freshsales', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
    123123            $company_settings  = array_map( 'sanitize_text_field', wp_unslash( $settings['company'] ) );
     124            $custom_settings   = array_map( 'sanitize_text_field', wp_unslash( $settings['custom_field'] ) );
    124125            $fields            = array_map( 'sanitize_text_field', wp_unslash( $fields_filter_ff ) );
    125126            $fields['company'] = $company_settings;
     127            $fields['custom_field'] = $custom_settings;
    126128            $form_settings     = apply_filters( 'formidable_form_settings', $fields, $form_id );
    127129            return $form_settings;
  • codup-wp-freshsales/trunk/lib/codupads/scripts/adscript.js

    r2218057 r2556757  
    22    $.ajax(
    33        {
    4             url: "http://wpads.coduplabs.com/",
     4            url: "https://wpads.coduplabs.com/",
    55
    66            data: {
  • codup-wp-freshsales/trunk/readme.txt

    r2381633 r2556757  
    33Tags: contact form 7, wordpress, freshsales, Gravity Form , Formidable Form
    44Requires at least: 4.4
    5 Tested up to: 5.5.1
     5Tested up to: 5.7.2
    66License: GPLv2 or later
    77
     
    2828
    2929== Changelog ==
     30
     311.3.2.3
     32Some Fields were not saving on cf7.
     33
     341.3.2.2
     35convert http to https on codup ads
     36set contact-us custom fields on form submission
    3037
    31381.3.2.1
  • codup-wp-freshsales/trunk/wp-freshsales-integration.php

    r2381630 r2556757  
    1111 * Plugin Name: WordPress to Freshsales Integration
    1212 * Description: Create Leads on formidable forms submission , contact form 7 submission and gravity forms submission.
    13  * Version:     1.3.2.2
     13 * Version:     1.3.2.3
    1414 * Author:      codup.io
    1515 * Author URI:  http://codup.io/
Note: See TracChangeset for help on using the changeset viewer.