PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/helpers/curl-helper.php +2 -2 18.8 → trunk View file →
@@ -12,9 +12,9 @@
12 12 *
13 13 * @return bool Returns true if cURL is installed.
14 14 */
15 15 public function is_installed() {
16 - return function_exists( 'curl_version' );
16 + return \function_exists( 'curl_version' );
17 17 }
18 18
19 19 /**
20 20 * Returns the currently installed cURL version.
@@ -21,9 +21,9 @@
21 21 *
22 22 * @return string|null Returns a string containing the cURL version, or null if cURL is not installed.
23 23 */
24 24 public function get_version() {
25 - $version = curl_version();
25 + $version = \curl_version();
26 26
27 27 if ( ! isset( $version['version'] ) ) {
28 28 return null;
29 29 }