Hi,
My website hoster only supports php up to php 5.6. Please can you make the following updates to support php other than php 7.
Thanks.
diff -r \xxxwordpress3doldajax-get.php \xxxwordpress3d ewajax-get.php 21a22,27 > $nullCoalese = function($val, $def) { > if (isset($val)) { > return $val; > } > return $def; > }; 25,28c31,34 < ‘type’=> $metaMETA_PREFIX.’type’ ?? ‘pdf’, < ‘data’=> unserialize($metaMETA_PREFIX.’data’ ?? serialize($def[‘data’])), < ‘thumbnail’=> unserialize($metaMETA_PREFIX.’thumbnail’ ?? serialize($def[‘thumbnail’])), < ‘props’=> unserialize($metaMETA_PREFIX.’props’ ?? serialize($def[‘props’]))
> ‘type’=> $nullCoalese($metaMETA_PREFIX.’type’, ‘pdf’), > ‘data’=> unserialize($nullCoalese($metaMETA_PREFIX.’data’, serialize($def[‘data’]))), > ‘thumbnail’=> unserialize($nullCoalese($metaMETA_PREFIX.’thumbnail’, serialize($def[‘thumbnail’]))), > ‘props’=> unserialize($nullCoalese($metaMETA_PREFIX.’props’, serialize($def[‘props’])))
diff -r \xxxwordpress3doldedit-save.php \xxxwordpress3d ewedit-save.php 27c27,29 < $data[$k] = $data[$k] ?? $i[‘default’];
> if (!isset($data[$k])) { > $data[$k] = $i[‘default’]; > } 37c39,45 < $value = $v==’auto’? $v: cast_type($v ?? $reg[‘default’], $reg[‘qualifier’]);
> if (!isset($v)) { > $value = cast_type($reg[‘default’], $reg[‘qualifier’]); > } else if ($v == ‘auto’) { > $value = $v; > } else { > $value = cast_type($v, $reg[‘qualifier’]); > }
diff -r \xxxwordpress3doldpost-pages.php \xxxwordpress3d ewpost-pages.php 48c48,52 < $serialized‘records’ = serialize($records[$name] ?? $d[‘val’]);
> if (isset($records[$name])) { > $serialized‘records’ = serialize($records[$name]); > } else { > $serialized‘records’ = serialize($d[‘val’]); > } 55c59,63 < $serialized‘records’ = $records[$name] ?? $d[‘val’];
> if (isset($records[$name])) { > $serialized‘records’ = $records[$name]; > } else { > $serialized‘records’ = $d[‘val’]; > }
Hi!
Yes it will support php 5.6. I am going to upload update tomorrow+some time for review – usually it takes 3 days.