Plugin Directory

Changeset 2879992


Ignore:
Timestamp:
03/14/2023 05:47:53 PM (3 years ago)
Author:
Infusionsoft
Message:

1.0.10 PHP 8.0 compatibility updates

Location:
infusionsoft-official-opt-in-forms/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • infusionsoft-official-opt-in-forms/trunk/changelog.txt

    r2805960 r2879992  
     1version 1.0.10
     2- Fixes compatibility issue with PHP 8.0+
     3
    14version 1.0.9
    25- Fixes compatibility issue with PHP 8.0+
  • infusionsoft-official-opt-in-forms/trunk/infusionsoft.php

    r2805960 r2879992  
    33 * Plugin Name: Keap Official Opt-in Forms
    44 * Plugin URI: https://www.keap.com
    5  * Version: 1.0.9
     5 * Version: 1.0.10
    66 * Description: Keap Official Opt-in Forms
    77 * Author: Keap
     
    3030
    3131class INF_Infusionsoft extends INF_Dashboard {
    32     var $plugin_version = '1.0.9';
     32    var $plugin_version = '1.0.10';
    3333    var $db_version = '1.0';
    3434    var $_options_pagename = 'inf_infusionsoft_options';
  • infusionsoft-official-opt-in-forms/trunk/readme.txt

    r2805960 r2879992  
    22Contributors: Keap
    33Tags: keap, keap api, keap wordpress, wp popup, wordpress popup plugin, wordpress subscription plugin, responsive opt-in subscription plugin, free optinmonster alternative, list builder, sumome alternative, how to increase email list, email form, scroll box, newsletter, inbound marketing, mailing list, landing page, light box, email list building, subscribers, subscription, infusionsoft
    4 Requires at least: 5.7
    5 Tested up to: 6.0.3
    6 Stable tag: 1.0.9
     4Requires at least: 6.0
     5Tested up to: 6.1.1
     6Requires PHP: 8.0
     7Stable tag: 1.0.10
    78License: GPLv2 or later
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8182== Changelog ==
    8283
     84= 1.0.10 =
     85* Fixes compatibility issue with PHP 8.0+
     86
    8387= 1.0.9 =
    8488* Fixes compatibility issue with PHP 8.0+
     
    125129== Upgrade Notice ==
    126130
     131= 1.0.10 =
     132Fixes compatibility issue with PHP 8.0+
     133
    127134= 1.0.9 =
    128135Fixes compatibility issue with PHP 8.0+
  • infusionsoft-official-opt-in-forms/trunk/subscription/infusionsoft/xmlrpc/lib/xmlrpc.inc

    r2638364 r2879992  
    23652365                // be tolerant to line endings, and extra empty lines
    23662366                $ar = preg_split("/\r?\n/", trim(substr($data, 0, $pos)));
    2367                 while(list(,$line) = @each($ar))
     2367                #while(list(,$line) = @each($ar))
     2368                while(list(,$line) = @myEach($ar))
    23682369                {
    23692370                    // take care of multi-line headers and cookies
     
    29312932                if($key == 'array')
    29322933                {
    2933                     while(list($key2, $val2) = each($val))
     2934                    #while(list($key2, $val2) = each($val))
     2935                    while(list($key2, $val2) = myEach($val))
    29342936                    {
    29352937                        echo "-- $key2 => $val2<br />";
     
    30783080            //{
    30793081                reset($this->me);
    3080                 list($typ, $val) = each($this->me);
     3082                #list($typ, $val) = each($this->me);
     3083               
     3084                list($typ, $val) = myEach($this->me);
     3085               
    30813086                return '<value>' . $this->serializedata($typ, $val, $charset_encoding) . "</value>\n";
    30823087            //}
     
    30913096                $ar=$o->me;
    30923097                reset($ar);
    3093                 list($typ, $val) = each($ar);
     3098                #list($typ, $val) = each($ar);
     3099                list($typ, $val) = myEach($ar);
     3100
    30943101                return '<value>' . $this->serializedata($typ, $val) . "</value>\n";
    30953102            //}
     
    31363143        function structeach()
    31373144        {
    3138             return each($this->me['struct']);
     3145            #return each($this->me['struct']);
     3146            return myEach($this->me['struct']);
     3147           
    31393148        }
    31403149
     
    33343343                {
    33353344                    reset($xmlrpc_val->me);
    3336                     list($typ,$val) = each($xmlrpc_val->me);
     3345                    #list($typ,$val) = each($xmlrpc_val->me);
     3346                    list($typ,$val) = myEach($xmlrpc_val->me);
    33373347                    switch ($typ)
    33383348                    {
     
    35083518                    $arr = array();
    35093519                    reset($php_val);
    3510                     while(list($k,$v) = each($php_val))
     3520                    #while(list($k,$v) = each($php_val))
     3521                    while(list($k,$v) = myEach($php_val))
    35113522                    {
    35123523                        $arr[$k] = php_xmlrpc_encode($v, $options);
     
    38743885    }
    38753886
     3887function myEach(&$arr) {
     3888    $key = key($arr);
     3889    $result = ($key === null) ? false : [$key, current($arr), 'key' => $key, 'value' => current($arr)];
     3890    next($arr);
     3891    return $result;
     3892}
     3893
    38763894?>
Note: See TracChangeset for help on using the changeset viewer.