Plugin Directory

Changeset 3210860


Ignore:
Timestamp:
12/20/2024 06:39:22 AM (16 months ago)
Author:
zohocrm
Message:

Bug Boundry issue has been fixed

Location:
zoho-crm-forms/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • zoho-crm-forms/trunk/Readme.txt

    r3210848 r3210860  
    77Author: Zoho CRM
    88Tested up to: 6.7
    9 Stable tag: 1.8.0.6
     9Stable tag: 1.8.0.7
    1010License: GPLv2 or later
    11 Version: 1.8.0.6
     11Version: 1.8.0.7
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313
     
    3193191.8.0.6
    320320Bug Boundry issue has been fixed
     3211.8.0.7
     322Bug Boundry issue has been fixed
    321323
    322324== Upgrade notice ==
  • zoho-crm-forms/trunk/includes/crmcontactformfieldsmapping.php

    r3194673 r3210860  
    121121            $crm_field_options .= "<option>--None--</option>";
    122122            foreach ($crm_field_labels as $field_key => $crm_field_label) {
    123 
    124                 $crm_field_options .= "<option value='{$crm_field_label}'> $crm_field_label</option>";
     123                $crm_field_label = esc_html($crm_field_label);
     124                $crm_field_options .= "<option value='{$crm_field_label}'> {$crm_field_label}</option>";
    125125            }
    126126
  • zoho-crm-forms/trunk/includes/crmcontactformgenerator.php

    r3194673 r3210860  
    483483             $htmlcontent1 .= '<tr class="hiddenElement">';
    484484            if ($config_fields[$i]['type']['name'] == 'multiselectpicklist') {
    485                 $defaultvaluepicklist = unserialize($config_fields[$i]['defaultvalue']);
     485                $defaultvaluepicklist = unserialize($config_fields[$i]['defaultvalue'],['allowed_classes' => false]);
    486486            }
    487487
  • zoho-crm-forms/trunk/includes/crmshortcodefunctions.php

    r3210848 r3210860  
    181181                $defaultvaluepicklist = $config_leads_fields['fields'][$i]['defaultvalue'];
    182182                if (($config_leads_fields['fields'][$i]['type']['name'] == 'multiselectpicklist') && $config_leads_fields['fields'][$i]['defaultvalue'] != '') {
    183                     $defaultvaluepicklist = unserialize($config_leads_fields['fields'][$i]['defaultvalue']);
     183                    $defaultvaluepicklist = unserialize($config_leads_fields['fields'][$i]['defaultvalue'],['allowed_classes' => false]);
    184184                }
    185185
     
    831831                $classtrHidden = 'dN';
    832832                if ($type == 'multiselectpicklist') {
    833                     $cont_array = unserialize($value->defaultvalues);
     833                    $cont_array = unserialize($value->defaultvalues,['allowed_classes' => false]);
    834834                } else {
    835835                    $defaultvalue = $value->defaultvalues;
  • zoho-crm-forms/trunk/includes/crmwebformsfieldsmapping.php

    r3210848 r3210860  
    372372            $crmFields['fields'][$i]['hiddenfield'] = $newfields->hiddenfield;
    373373            if ($newfields->custom_field_type == 'select-multiple' || $newfields->custom_field_type == 'select') {
    374                 $crmFields['fields'][$i]['defaultvalue'] = array('defaultvalues' => @unserialize($newfields->defaultvalues));
     374                $crmFields['fields'][$i]['defaultvalue'] = array('defaultvalues' => @unserialize($newfields->defaultvalues,['allowed_classes' => false]));
    375375            } else {
    376376                $crmFields['fields'][$i]['defaultvalue'] = $newfields->defaultvalues;
    377377            }
    378             $crmFields['fields'][$i]['type'] = array('picklistValues' => @unserialize($newfields->custom_field_values), 'name' => $newfields->custom_field_type, 'defaultValue' => $newfields->custom_field_values);
     378            $crmFields['fields'][$i]['type'] = array('picklistValues' => @unserialize($newfields->custom_field_values,['allowed_classes' => false]), 'name' => $newfields->custom_field_type, 'defaultValue' => $newfields->custom_field_values);
    379379            $i++;
    380380        }
  • zoho-crm-forms/trunk/index.php

    r3210848 r3210860  
    44 * Plugin Name: Zoho CRM Lead Magnet
    55 * Description: Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.Not only is the integration easy to set-up but it's also easy on your wallet.
    6  * Version: 1.8.0.6
     6 * Version: 1.8.0.7
    77 * ***************************************************************************************** */
    88if (!defined('ABSPATH'))
    99    exit;
    1010
    11         define( 'ZCF_VERSION', '1.8.0.6' );
     11        define( 'ZCF_VERSION', '1.8.0.7' );
    1212        define( 'ZCF_LBPLUGINFILE', __FILE__ );
    1313        define( 'ZCF_LBPLUGIN_URL', untrailingslashit( plugins_url( '', ZCF_LBPLUGINFILE ) ) );
Note: See TracChangeset for help on using the changeset viewer.