Changeset 3390513
- Timestamp:
- 11/05/2025 01:38:07 PM (5 months ago)
- Location:
- gf-zendesk
- Files:
-
- 4 edited
- 4 copied
-
tags/1.1.4 (copied) (copied from gf-zendesk/trunk)
-
tags/1.1.4/gf-zendesk.php (copied) (copied from gf-zendesk/trunk/gf-zendesk.php) (3 diffs)
-
tags/1.1.4/includes/edit-form.php (modified) (2 diffs)
-
tags/1.1.4/includes/plugin-pages.php (copied) (copied from gf-zendesk/trunk/includes/plugin-pages.php)
-
tags/1.1.4/readme.txt (copied) (copied from gf-zendesk/trunk/readme.txt) (2 diffs)
-
trunk/gf-zendesk.php (modified) (3 diffs)
-
trunk/includes/edit-form.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gf-zendesk/tags/1.1.4/gf-zendesk.php
r3280570 r3390513 3 3 * Plugin Name: WP Gravity Forms Zendesk 4 4 * Description: Integrates Gravity Forms with Zendesk allowing form submissions to be automatically sent to your Zendesk account 5 * Version: 1.1. 35 * Version: 1.1.4 6 6 * Requires at least: 3.8 7 7 * Author URI: https://www.crmperks.com … … 26 26 public $id = 'vxg_zendesk'; 27 27 public $domain = 'vxg-zendesk'; 28 public $version = "1.1. 3";28 public $version = "1.1.4"; 29 29 public $update_id = '30006'; 30 30 public $min_gravityforms_version = '1.3.9'; … … 530 530 531 531 if(isset($entry[$gf_field_id])){ 532 $value=maybe_unserialize($entry[$gf_field_id]);532 $value=$entry[$gf_field_id]; 533 533 if(is_numeric($gf_field_id)){ 534 534 $field = RGFormsModel::get_field($form, $gf_field_id); 535 if(isset($field->type) && in_array($field->type,array('list')) ){ 536 $value=maybe_unserialize($value); 537 } 535 538 if( (isset($field->storageType) && $field->storageType == 'json') || $field->type == 'fileupload' ){ 536 539 $value_temp=json_decode($value,1); if(!empty($value_temp)){ $value=$value_temp; } 540 } 541 if(in_array($gf_field_id,array('date_created','payment_date'))){ 542 $value=strtotime($value); 543 $offset=get_option('gmt_offset'); 544 $offset=$offset*3600; 545 $value+=$offset; 546 $format=get_option( 'date_format' ).' '.get_option( 'time_format' ); 547 $value=date($format, $value); 548 537 549 } 538 550 -
gf-zendesk/tags/1.1.4/includes/edit-form.php
r3130563 r3390513 429 429 SetFieldProperty('crm_object',setting.find('.sel_object').val()); 430 430 // We add the Object choices in the list to the field choices. 431 field["choices"] = new Array(); 432 431 field.choices = new Array(); 433 432 div.find('li').each(function() { 434 433 choice = new Choice(); … … 436 435 choice.value = $(this).data('value').toString(); 437 436 choice.isSelected = $(this).data('default')*1; 438 439 field["choices"].push(choice); 437 if ( FieldIsChoiceType( field ) ) { 438 InsertFieldForChoice( choice, field ); 439 } 440 field.choices.push( choice ); 441 // field["choices"].push(choice); 440 442 }); 441 443 // We update the field choices in the field display 442 UpdateFieldChoices(field.type); 443 LoadFieldChoices(field); 444 // UpdateFieldChoices(field.type); 445 LoadFieldChoices( field ); 446 RefreshSelectedFieldPreview(); 444 447 toggle_choices(obj); 445 448 }) -
gf-zendesk/tags/1.1.4/readme.txt
r3280570 r3390513 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 1.1. 37 Version: 1.1. 36 Stable tag: 1.1.4 7 Version: 1.1.4 8 8 Requires PHP: 5.3 9 9 License: GPLv3 … … 109 109 == Changelog == 110 110 111 = 1.1.4 = 112 * fixed "entry created date" issue. 113 111 114 = 1.1.3 = 112 115 * fixed "open redirect issue with state parameter". -
gf-zendesk/trunk/gf-zendesk.php
r3280570 r3390513 3 3 * Plugin Name: WP Gravity Forms Zendesk 4 4 * Description: Integrates Gravity Forms with Zendesk allowing form submissions to be automatically sent to your Zendesk account 5 * Version: 1.1. 35 * Version: 1.1.4 6 6 * Requires at least: 3.8 7 7 * Author URI: https://www.crmperks.com … … 26 26 public $id = 'vxg_zendesk'; 27 27 public $domain = 'vxg-zendesk'; 28 public $version = "1.1. 3";28 public $version = "1.1.4"; 29 29 public $update_id = '30006'; 30 30 public $min_gravityforms_version = '1.3.9'; … … 530 530 531 531 if(isset($entry[$gf_field_id])){ 532 $value=maybe_unserialize($entry[$gf_field_id]);532 $value=$entry[$gf_field_id]; 533 533 if(is_numeric($gf_field_id)){ 534 534 $field = RGFormsModel::get_field($form, $gf_field_id); 535 if(isset($field->type) && in_array($field->type,array('list')) ){ 536 $value=maybe_unserialize($value); 537 } 535 538 if( (isset($field->storageType) && $field->storageType == 'json') || $field->type == 'fileupload' ){ 536 539 $value_temp=json_decode($value,1); if(!empty($value_temp)){ $value=$value_temp; } 540 } 541 if(in_array($gf_field_id,array('date_created','payment_date'))){ 542 $value=strtotime($value); 543 $offset=get_option('gmt_offset'); 544 $offset=$offset*3600; 545 $value+=$offset; 546 $format=get_option( 'date_format' ).' '.get_option( 'time_format' ); 547 $value=date($format, $value); 548 537 549 } 538 550 -
gf-zendesk/trunk/includes/edit-form.php
r3130563 r3390513 429 429 SetFieldProperty('crm_object',setting.find('.sel_object').val()); 430 430 // We add the Object choices in the list to the field choices. 431 field["choices"] = new Array(); 432 431 field.choices = new Array(); 433 432 div.find('li').each(function() { 434 433 choice = new Choice(); … … 436 435 choice.value = $(this).data('value').toString(); 437 436 choice.isSelected = $(this).data('default')*1; 438 439 field["choices"].push(choice); 437 if ( FieldIsChoiceType( field ) ) { 438 InsertFieldForChoice( choice, field ); 439 } 440 field.choices.push( choice ); 441 // field["choices"].push(choice); 440 442 }); 441 443 // We update the field choices in the field display 442 UpdateFieldChoices(field.type); 443 LoadFieldChoices(field); 444 // UpdateFieldChoices(field.type); 445 LoadFieldChoices( field ); 446 RefreshSelectedFieldPreview(); 444 447 toggle_choices(obj); 445 448 }) -
gf-zendesk/trunk/readme.txt
r3280570 r3390513 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 1.1. 37 Version: 1.1. 36 Stable tag: 1.1.4 7 Version: 1.1.4 8 8 Requires PHP: 5.3 9 9 License: GPLv3 … … 109 109 == Changelog == 110 110 111 = 1.1.4 = 112 * fixed "entry created date" issue. 113 111 114 = 1.1.3 = 112 115 * fixed "open redirect issue with state parameter".
Note: See TracChangeset
for help on using the changeset viewer.