updated plugin Connect Matomo version 1.1.9

This commit is contained in:
2026-07-28 15:03:37 +00:00
committed by Gitium
parent a035558e8f
commit 75c7cb83fd
10 changed files with 49 additions and 34 deletions

View File

@ -84,7 +84,9 @@ class Rest extends \WP_Piwik\Request {
} else {
$result = $this->unserialize( $result );
}
curl_close( $c );
if ( version_compare( PHP_VERSION, '8', '<' ) ) {
curl_close( $c );
}
return $result;
}