PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.32.53
E2Pdf – Export Pdf Tool for WordPress v1.32.53
1.32.53 1.32.51 1.32.49 1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 All 74 releases
← All changes | classes/model/e2pdf-api.php +4 -2 1.32.43 → 1.32.53 View file →
@@ -40,9 +40,9 @@
40 40 $api_processor = get_option('e2pdf_debug', '0') && get_option('e2pdf_processor', '0') ? get_option('e2pdf_processor', '0') : '0';
41 41 if ($api_processor == '2') {
42 42 $api_version = '1.16.19';
43 43 } else {
44 - $api_version = '1.32.39';
44 + $api_version = '1.32.52';
45 45 }
46 46
47 47 $data = [
48 48 'api_url' => $this->helper->get_site_url(),
@@ -105,9 +105,11 @@
105 105 $curl_errno = curl_errno($ch);
106 106 $curl_error = curl_error($ch);
107 107 $curl_type = curl_getinfo($ch, CURLINFO_CONTENT_TYPE);
108 108 $curl_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
109 - curl_close($ch);
109 + if (PHP_VERSION_ID < 80000) {
110 + curl_close($ch);
111 + }
110 112 // phpcs:enable
111 113
112 114 if ($curl_errno > 0) {
113 115 if ($this->get_api_server() === $this->get_api_server($api_server)) {