Changeset 3210860
- Timestamp:
- 12/20/2024 06:39:22 AM (16 months ago)
- Location:
- zoho-crm-forms/trunk
- Files:
-
- 6 edited
-
Readme.txt (modified) (2 diffs)
-
includes/crmcontactformfieldsmapping.php (modified) (1 diff)
-
includes/crmcontactformgenerator.php (modified) (1 diff)
-
includes/crmshortcodefunctions.php (modified) (2 diffs)
-
includes/crmwebformsfieldsmapping.php (modified) (1 diff)
-
index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zoho-crm-forms/trunk/Readme.txt
r3210848 r3210860 7 7 Author: Zoho CRM 8 8 Tested up to: 6.7 9 Stable tag: 1.8.0. 69 Stable tag: 1.8.0.7 10 10 License: GPLv2 or later 11 Version: 1.8.0. 611 Version: 1.8.0.7 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 13 … … 319 319 1.8.0.6 320 320 Bug Boundry issue has been fixed 321 1.8.0.7 322 Bug Boundry issue has been fixed 321 323 322 324 == Upgrade notice == -
zoho-crm-forms/trunk/includes/crmcontactformfieldsmapping.php
r3194673 r3210860 121 121 $crm_field_options .= "<option>--None--</option>"; 122 122 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>"; 125 125 } 126 126 -
zoho-crm-forms/trunk/includes/crmcontactformgenerator.php
r3194673 r3210860 483 483 $htmlcontent1 .= '<tr class="hiddenElement">'; 484 484 if ($config_fields[$i]['type']['name'] == 'multiselectpicklist') { 485 $defaultvaluepicklist = unserialize($config_fields[$i]['defaultvalue'] );485 $defaultvaluepicklist = unserialize($config_fields[$i]['defaultvalue'],['allowed_classes' => false]); 486 486 } 487 487 -
zoho-crm-forms/trunk/includes/crmshortcodefunctions.php
r3210848 r3210860 181 181 $defaultvaluepicklist = $config_leads_fields['fields'][$i]['defaultvalue']; 182 182 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]); 184 184 } 185 185 … … 831 831 $classtrHidden = 'dN'; 832 832 if ($type == 'multiselectpicklist') { 833 $cont_array = unserialize($value->defaultvalues );833 $cont_array = unserialize($value->defaultvalues,['allowed_classes' => false]); 834 834 } else { 835 835 $defaultvalue = $value->defaultvalues; -
zoho-crm-forms/trunk/includes/crmwebformsfieldsmapping.php
r3210848 r3210860 372 372 $crmFields['fields'][$i]['hiddenfield'] = $newfields->hiddenfield; 373 373 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])); 375 375 } else { 376 376 $crmFields['fields'][$i]['defaultvalue'] = $newfields->defaultvalues; 377 377 } 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); 379 379 $i++; 380 380 } -
zoho-crm-forms/trunk/index.php
r3210848 r3210860 4 4 * Plugin Name: Zoho CRM Lead Magnet 5 5 * 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. 66 * Version: 1.8.0.7 7 7 * ***************************************************************************************** */ 8 8 if (!defined('ABSPATH')) 9 9 exit; 10 10 11 define( 'ZCF_VERSION', '1.8.0. 6' );11 define( 'ZCF_VERSION', '1.8.0.7' ); 12 12 define( 'ZCF_LBPLUGINFILE', __FILE__ ); 13 13 define( 'ZCF_LBPLUGIN_URL', untrailingslashit( plugins_url( '', ZCF_LBPLUGINFILE ) ) );
Note: See TracChangeset
for help on using the changeset viewer.