WordPress.WP.AlternativeFunctions.curl_curl_close

curl curl close

The plugin uses raw cURL functions instead of the WordPress HTTP API.

medium weight

Why It Shows Up

Plugin Check found `curl_*` calls in plugin code.

Why It Matters

The WordPress HTTP API handles transports, proxies, SSL behavior, filters, and host compatibility more consistently than raw cURL.

How to Fix

  • Replace simple cURL requests with `wp_remote_get()` or `wp_remote_post()`.
  • Handle `WP_Error`, status codes, timeouts, and response body parsing explicitly.
  • If a bundled library uses cURL internally, keep it isolated and avoid passing unchecked user input into requests.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#351Virusdie | One-click website security39149662k+Output Not Escaped
#352Advanced IP Blocker4094441k+Exception Not Escaped
#353WP All Import – Job Listing Import for WP Job Manager4035272k+Output Not Escaped
#354Heroic Favicon Generator4110476k+Output Not Escaped
#355Gateway zibal for Woocommerce4470245k+Text Domain Mismatch
#356reCAPTCHA for Asgaros Forum4521364k+Input Not Validated
#357Export Import Menus46232810k+Missing
#358Gateway AqayePardakht for Woocommerce4772234k+Text Domain Mismatch
#359Instamojo for WooCommerce4872445k+Text Domain Mismatch
#360Sitemap Generator5060263k+Output Not Escaped
#361WPKoi Templates for Elementor50935255k+Text Domain Mismatch
#362Menu Icons by Themeisle – Add Icons to Navigation Menus513422100k+Output Not Escaped
#363Genesis Simple Share56114310k+Non Prefixed Variable Found
#364Payment Gateway for LiqPay for Woocommerce5984311k+Text Domain Mismatch
#365HelloAsso60132894k+Echo Found
#366Satispay for WooCommerce6219127k+Exception Not Escaped
#367XPoster – Share to Bluesky and Mastodon62263610k+Missing
#368Custom Currency for WooCommerce706352k+missing direct file access protection
#369Anchor Episodes Index (Spotify for Podcasters)753231k+Text Domain Mismatch
#370Gutenverse Companion8116298k+Recommended
#371WP YouTube Live8628241k+Non Prefixed Function Found
#372Genesis Blocks88154940k+Offloaded Content
#373WP Force SSL & HTTPS SSL Redirect92182190k+Non Prefixed Variable Found