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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#551WP All Import – Property Import for RealHomes741712700Output is not escaped
#552Anchor Episodes Index (Spotify for Podcasters)753231k+Text Domain Mismatch
#553reCAPTCHA for bbPress751419800Non-prefixed function
#554Simple SMTP by Maileroo75408700Text Domain Mismatch
#555Cache External Scripts76214900Output is not escaped
#556Gutenverse Companion8116298k+Nonce verification recommended
#557Bookero.pl – system rezerwacji online821271k+curl curl setopt
#558Japanese Proofreading Preview82115400Nonce verification recommended
#559HHG for TranslatePress844318800curl curl setopt
#560Getnet Argentina para WooCommerce86149500Text Domain Mismatch
#561WP YouTube Live8628241k+Non-prefixed function
#562ImageKit – URL based image manipulation and optimization8747421k+Non-prefixed global variable
#563Genesis Blocks88154940k+Offloaded Content
#564External files in Media Library901668400Direct Query
#565Include Mastodon Feed90113800Non-prefixed global variable
#566getLaw WP API Client91114600curl curl setopt
#567WP Force SSL & HTTPS SSL Redirect92182190k+Non-prefixed global variable
#568Drag and Drop File Upload for Elementor Forms942911k+curl curl setopt