WordPress.WP.AlternativeFunctions.curl_curl_error

curl curl error

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
#201PhastPress29955210k+Exception output is not escaped
#202SamedayCourier Shipping293362694k+Non Singular String Literal Domain
#203WP Subscribe2979798k+Non-prefixed class
#204Contact Form 7 – PayPal & Stripe Add-on303852338k+Unsafe printing function
#205GlobalPayments Gateway Provider for WooCommerce306111701k+Text Domain Mismatch
#206Laposta Signup Embed3088191k+Exception output is not escaped
#207Midtrans-WooCommerce301121325k+Non-prefixed global variable
#208FraudLabs Pro for WooCommerce311692131k+Request data is not unslashed
#209Openpay Cards Plugin311661053k+Text Domain Mismatch
#210افزونه پیامک ووکامرس Persian WooCommerce SMS317226940k+Nonce verification recommended
#211Unbounce Landing Pages321698610k+Output is not escaped
#212AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth33332299k+Non-prefixed global variable
#213Pay. Payment Methods for WooCommerce333161043k+Non Singular String Literal Domain
#214Datafeedr API34307486k+Output is not escaped
#215Import XML and RSS Feeds34260852k+Unsafe printing function
#216MailChimp Forms by MailMunch341169410k+Output is not escaped
#217Meta pixel for WordPress349138400k+Exception output is not escaped
#218المنتور فارسی34525040k+curl curl setopt
#219Tidio – Live Chat & AI Chatbots34521980k+curl curl setopt
#220Connect WooCommerce to ActiveCampaign by EqualServing35135891k+Text Domain Mismatch
#221OT Flatsome Vertical Menu351262610k+Text Domain Mismatch
#222Poptin – Email Marketing Automation, Newsletter & Exit Pop Ups, Email Popups351733420k+Output is not escaped
#223Sprout Invoices – Client Invoicing & Estimates35401,7981k+Non-prefixed hook name
#224Converter for Media – Optimize images | Convert WebP & AVIF3513353500k+curl curl setopt
#225Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing354922950k+Non-prefixed hook name
#226Lara's Google Analytics (GA4)36303579k+Unsafe printing function
#227Legal Text Connector of the IT-Recht Kanzlei36454610k+Exception output is not escaped
#228Stripe Tax – Sales tax automation for WooCommerce36976130k+Exception output is not escaped
#229Async JavaScript373577970k+Unsafe printing function
#230Banhammer – Monitor Site Traffic, Block Bad Users and Bots371041741k+Output is not escaped
#231Images to WebP3739509k+curl curl setopt
#232JS Help Desk – AI-Powered Support & Ticketing System37174067k+Missing nonce verification
#233Viva Payments – Viva Wallet WooCommerce Payment Gateway3733331k+curl curl setopt
#234Hustle – Email Marketing, Lead Generation, Optins, Popups374,8745,94290k+Non-prefixed global variable
#235imoje38621602k+Nonce verification recommended
#236Advanced IP Blocker4094442k+Exception output is not escaped
#237Instamojo for WooCommerce4872445k+Text Domain Mismatch
#238Sitemap Generator5060263k+Output is not escaped
#239Menu Icons by Themeisle – Add Icons to Navigation Menus513422100k+Output is not escaped
#240HelloAsso60132894k+Short PHP open tag found
#241Satispay for WooCommerce6219127k+Exception output is not escaped
#242XPoster – Share to Bluesky and Mastodon62263610k+Missing nonce verification
#243Custom Currency for WooCommerce706352k+Missing direct file access protection
#244Genesis Blocks88154940k+Offloaded Content
#245WP Force SSL & HTTPS SSL Redirect92182190k+Non-prefixed global variable