Plugin Directory

Changeset 2130081


Ignore:
Timestamp:
07/29/2019 10:01:20 AM (7 years ago)
Author:
teamgate
Message:

Added ability to post countries ISO 3166-1 alpha-3 codes to Teamgate API.

Location:
teamgate-crm-forms/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • teamgate-crm-forms/trunk/readme.txt

    r1774002 r2130081  
    44Tags: leads forms, leads generate forms, contact forms, web forms, embedding web forms, online forms, crm forms, teamgate, crm, forms, leads, deals, contacts, companies, people, person, inbound process, sales
    55Requires at least: 4.5.1
    6 Tested up to: 4.9
    7 Stable tag: 1.2.1
     6Tested up to: 5.2.2
     7Stable tag: 1.3
    88License: MIT
    99License URI: https://www.teamgate.com/terms-of-service/
     
    4242
    4343== Changelog ==
     44**1.3**
     45* Added ability to post countries ISO 3166-1 alpha-3 codes to Teamgate API.
    4446
    4547**1.2.1**
  • teamgate-crm-forms/trunk/teamgate.php

    r1773996 r2130081  
    55    Plugin URI: https://www.teamgate.com
    66    Description: A simple Teamgate CRM plugin to generate new sales opportunities within WordPress.
    7     Version: 1.2.1
     7    Version: 1.3
    88    Author URI: https://www.teamgate.com
    99    License: GPL2
     
    5656                    $teamgatePostData['customFields'][$fieldId] = $item;
    5757                    unset($posted_data[$index]);
    58                 } else if (strpos($index, 'teamgate-') !== FALSE) {
     58                } else if (strpos($index, 'teamgate-address-') !== FALSE) {
     59                    $fieldId = str_replace('teamgate-address-', '', $index);
     60                    $teamgatePostData['address']['value'][$fieldId] = $item;
     61                } else if (strpos($index, 'teamgate-') !== FALSE) {
    5962                    $teamgatePostData[str_replace('teamgate-', '', $index)] = $item;
    6063                }
Note: See TracChangeset for help on using the changeset viewer.