Changeset 2879992
- Timestamp:
- 03/14/2023 05:47:53 PM (3 years ago)
- Location:
- infusionsoft-official-opt-in-forms/trunk
- Files:
-
- 4 edited
-
changelog.txt (modified) (1 diff)
-
infusionsoft.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
subscription/infusionsoft/xmlrpc/lib/xmlrpc.inc (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
infusionsoft-official-opt-in-forms/trunk/changelog.txt
r2805960 r2879992 1 version 1.0.10 2 - Fixes compatibility issue with PHP 8.0+ 3 1 4 version 1.0.9 2 5 - Fixes compatibility issue with PHP 8.0+ -
infusionsoft-official-opt-in-forms/trunk/infusionsoft.php
r2805960 r2879992 3 3 * Plugin Name: Keap Official Opt-in Forms 4 4 * Plugin URI: https://www.keap.com 5 * Version: 1.0. 95 * Version: 1.0.10 6 6 * Description: Keap Official Opt-in Forms 7 7 * Author: Keap … … 30 30 31 31 class INF_Infusionsoft extends INF_Dashboard { 32 var $plugin_version = '1.0. 9';32 var $plugin_version = '1.0.10'; 33 33 var $db_version = '1.0'; 34 34 var $_options_pagename = 'inf_infusionsoft_options'; -
infusionsoft-official-opt-in-forms/trunk/readme.txt
r2805960 r2879992 2 2 Contributors: Keap 3 3 Tags: 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 4 Requires at least: 6.0 5 Tested up to: 6.1.1 6 Requires PHP: 8.0 7 Stable tag: 1.0.10 7 8 License: GPLv2 or later 8 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 81 82 == Changelog == 82 83 84 = 1.0.10 = 85 * Fixes compatibility issue with PHP 8.0+ 86 83 87 = 1.0.9 = 84 88 * Fixes compatibility issue with PHP 8.0+ … … 125 129 == Upgrade Notice == 126 130 131 = 1.0.10 = 132 Fixes compatibility issue with PHP 8.0+ 133 127 134 = 1.0.9 = 128 135 Fixes compatibility issue with PHP 8.0+ -
infusionsoft-official-opt-in-forms/trunk/subscription/infusionsoft/xmlrpc/lib/xmlrpc.inc
r2638364 r2879992 2365 2365 // be tolerant to line endings, and extra empty lines 2366 2366 $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)) 2368 2369 { 2369 2370 // take care of multi-line headers and cookies … … 2931 2932 if($key == 'array') 2932 2933 { 2933 while(list($key2, $val2) = each($val)) 2934 #while(list($key2, $val2) = each($val)) 2935 while(list($key2, $val2) = myEach($val)) 2934 2936 { 2935 2937 echo "-- $key2 => $val2<br />"; … … 3078 3080 //{ 3079 3081 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 3081 3086 return '<value>' . $this->serializedata($typ, $val, $charset_encoding) . "</value>\n"; 3082 3087 //} … … 3091 3096 $ar=$o->me; 3092 3097 reset($ar); 3093 list($typ, $val) = each($ar); 3098 #list($typ, $val) = each($ar); 3099 list($typ, $val) = myEach($ar); 3100 3094 3101 return '<value>' . $this->serializedata($typ, $val) . "</value>\n"; 3095 3102 //} … … 3136 3143 function structeach() 3137 3144 { 3138 return each($this->me['struct']); 3145 #return each($this->me['struct']); 3146 return myEach($this->me['struct']); 3147 3139 3148 } 3140 3149 … … 3334 3343 { 3335 3344 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); 3337 3347 switch ($typ) 3338 3348 { … … 3508 3518 $arr = array(); 3509 3519 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)) 3511 3522 { 3512 3523 $arr[$k] = php_xmlrpc_encode($v, $options); … … 3874 3885 } 3875 3886 3887 function 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 3876 3894 ?>
Note: See TracChangeset
for help on using the changeset viewer.