Plugin Directory

Changeset 926222


Ignore:
Timestamp:
06/04/2014 07:08:34 AM (12 years ago)
Author:
benhays
Message:

Escape XML strings

Location:
gravity-forms-highrise-crm/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gravity-forms-highrise-crm/trunk/gravity-forms-highrise-crm.php

    r899026 r926222  
    44Plugin URI: https://github.com/bhays/gravity-forms-highrise-crm
    55Description: Integrates Gravity Forms with Highrise CRM allowing form submissions to be automatically sent to your Highrise account
    6 Version: 2.2
     6Version: 2.3
    77Author: Ben Hays
    88Author URI: http://benhays.com
     
    3535    private static $url = "http://www.gravityforms.com";
    3636    private static $slug = "gravity-forms-highrise-crm";
    37     private static $version = "2.1";
     37    private static $version = "2.3";
    3838    private static $min_gravityforms_version = "1.5";
    3939    private static $supported_fields = array(
     
    11141114                'state'     => $state_value,
    11151115                'zip'       => $zip_value,
    1116                 'country'   => $country_value
     1116                'country'   => $country_value,
    11171117            );
    11181118        }
     
    12211221
    12221222        //self::log_debug('Params post filter: '.print_r($params, true));
     1223
     1224        // Get strings ready for XML
     1225        array_walk_recursive($params, function (&$value) {
     1226            $value = htmlentities($value, ENT_QUOTES, 'UTF-8');
     1227        });
    12231228
    12241229        // Send info to Highrise
  • gravity-forms-highrise-crm/trunk/readme.md

    r899026 r926222  
    22==========================
    33
    4 Version 2.2
     4Version 2.3
    55
    66Send your Gravity Forms submissions to Highrise.
     
    2525
    2626## Changelog
     27
     28### 2.3
     29* Fix issue with ampersands in XML being sent to Highrise API
    2730
    2831### 2.2
  • gravity-forms-highrise-crm/trunk/readme.txt

    r899026 r926222  
    55Requires at least: 3.3
    66Tested up to: 3.9
    7 Stable tag: 2.2
     7Stable tag: 2.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545
    4646== Changelog ==
     47
     48### 2.3
     49* Fix issue with ampersands in XML being sent to Highrise API
    4750
    4851### 2.2
Note: See TracChangeset for help on using the changeset viewer.