WordPress.WP.AlternativeFunctions.curl_curl_setopt_array

curl curl setopt array

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
#151Gravity Forms + Stripe27368210600Output is not escaped
#152iQ Block Country2716424520k+Request data is not unslashed
#153Sign-up Sheets273253631k+Output is not escaped
#154WPBase Cache271891132k+Text Domain Mismatch
#155AForms — Form Builder for Price Calculator & Cost Estimation28564953k+Text Domain Mismatch
#156Void Contact Form 7 Widget For Elementor Page Builder282796610k+Text Domain Mismatch
#157Expand Divi28911001k+Non-prefixed global variable
#158گیت‌لند | درگاه پرداخت هوشمند گیت‌لند283272352k+Output is not escaped
#159Kama Thumbnail2880479k+Output is not escaped
#160My auctions allegro28483235500Non Singular String Literal Domain
#161افزونه حمل و نقل ووکامرس | پست پیشتاز، تیپاکس و پیک موتوری2813119020k+Missing nonce verification
#162Redis Object Cache28151103400k+Exception output is not escaped
#163Connect Matomo – Analytics Dashboard for WordPress2810010260k+Missing Translators Comment
#164PhastPress29955210k+Exception output is not escaped
#165Responder29771853k+Non-prefixed global variable
#166SamedayCourier Shipping293362694k+Non Singular String Literal Domain
#167Widget for Yelp Reviews291471582k+Output is not escaped
#168Contact Form 7 – PayPal & Stripe Add-on303852337k+Unsafe printing function
#169Midtrans-WooCommerce301121325k+Non-prefixed global variable
#170Naver webmaster syndication v23089129500Output is not escaped
#171zahls.ch Credit Cards, PostFinance and TWINT for WooCommerce301212653k+Non-prefixed global variable
#172RealHomes Stripe Payments3120233500Exception output is not escaped
#173Openpay Cards Plugin311661053k+Text Domain Mismatch
#174PayKeeper Payment Gateway for WooCommerce3111344400Non Singular String Literal Domain
#175افزونه پیامک ووکامرس Persian WooCommerce SMS317226940k+Nonce verification recommended
#176Pop-up311039110k+Output is not escaped
#177Re:amaze Helpdesk & Live Chat3196115400Output is not escaped
#178reCAPTCHA in WP comments form31264608k+Output is not escaped
#179Ultimate Posts Widget313098610k+Output is not escaped
#180Helcim Commerce for WooCommerce3294121800Text Domain Mismatch
#181Posti Shipping326641571k+Text Domain Mismatch
#182Unbounce Landing Pages321698610k+Output is not escaped
#183User Registration Using Contact Form 73210315500wp function not compatible with requires wp
#184WP Weixin3260152400Non-prefixed constant
#185Human Presence – Stop Form Spam Without ReCaptcha3354651k+Request data is not unslashed
#186Membership For WooCommerce3340658800Non-prefixed global variable
#187Pay. Payment Methods for WooCommerce333161043k+Non Singular String Literal Domain
#188Advanced Custom Fields: reCAPTCHA Field3410453800Text Domain Mismatch
#189Assistant – Every Day Productivity Apps34124974k+Exception output is not escaped
#190Enhanced Text Widget341015830k+Output is not escaped
#191SSL Mixed Content Fix3453658k+Output is not escaped
#192Meta pixel for WordPress349138400k+Exception output is not escaped
#193Openpay SPEI Plugin34112141k+Exception output is not escaped
#194OwnerRez347956700Unsafe printing function
#195Ad Widget for WordPress3568142k+Output is not escaped
#196Accept Cryptocurrencies with Plisio3537471k+Text Domain Mismatch
#197Poptin – Email Marketing Automation, Newsletter & Exit Pop Ups, Email Popups351682920k+Output is not escaped
#198Backend Payments for WooCommerce356342900Exception output is not escaped
#199Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing354922950k+Non-prefixed hook name
#200Lara's Google Analytics (GA4)36303579k+Unsafe printing function