WordPress.WP.AlternativeFunctions.curl_curl_close
curl curl close
The plugin uses raw cURL functions instead of the WordPress HTTP API.
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
| Rank | Plugin | Score | Errors | Warnings | Installs | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #301 | Discussion Board – WordPress Forum Plugin | 31 | 105 | 153 | 2k+ | Missing Unslash | |
| #302 | Translate WordPress with GTranslate | 32 | 82 | 364 | 900k+ | Non Prefixed Variable Found | |
| #303 | Unbounce Landing Pages | 32 | 169 | 86 | 10k+ | Output Not Escaped | |
| #304 | Companion Sitemap Generator – Simple, Smart, and SEO-Ready | 33 | 118 | 57 | 7k+ | Missing Translators Comment | |
| #305 | Human Presence – Stop Form Spam Without ReCaptcha | 33 | 54 | 65 | 1k+ | Missing Unslash | |
| #306 | SMTP2GO for WordPress – Email Made Easy | 33 | 186 | 111 | 30k+ | Output Not Escaped | |
| #307 | Envato Toolkit | 33 | 219 | 69 | 6k+ | Output Not Escaped | |
| #308 | WP Twitter Auto Publish | 33 | 442 | 171 | 4k+ | Output Not Escaped | |
| #309 | Website Monetization by MageNet | 33 | 60 | 87 | 20k+ | Output Not Escaped | |
| #310 | Pay. Payment Methods for WooCommerce | 33 | 316 | 104 | 3k+ | Non Singular String Literal Domain | |
| #311 | CM Search And Replace – Optimize content edits with a powerful search and replace tool | 34 | 286 | 111 | 2k+ | Output Not Escaped | |
| #312 | Datafeedr API | 34 | 307 | 48 | 6k+ | Output Not Escaped | |
| #313 | Enhanced Text Widget | 34 | 101 | 58 | 30k+ | Output Not Escaped | |
| #314 | SSL Mixed Content Fix | 34 | 53 | 65 | 8k+ | Output Not Escaped | |
| #315 | Import XML and RSS Feeds | 34 | 260 | 85 | 2k+ | Unsafe Printing Function | |
| #316 | MailChimp Forms by MailMunch | 34 | 116 | 94 | 10k+ | Output Not Escaped | |
| #317 | Meta pixel for WordPress | 34 | 91 | 38 | 400k+ | Exception Not Escaped | |
| #318 | المنتور فارسی | 34 | 52 | 50 | 40k+ | curl curl setopt | |
| #319 | Tidio – Live Chat & AI Chatbots | 34 | 52 | 19 | 80k+ | curl curl setopt | |
| #320 | Kybernaut IČO DIČ | 34 | 82 | 98 | 3k+ | Missing | |
| #321 | Insert Headers And Footers | 34 | 83 | 113 | 300k+ | Non Prefixed Variable Found | |
| #322 | WP LinkedIn Auto Publish | 34 | 165 | 56 | 8k+ | Output Not Escaped | |
| #323 | WP Twitter Feeds | 34 | 202 | 82 | 2k+ | Output Not Escaped | |
| #324 | Connect WooCommerce to ActiveCampaign by EqualServing | 35 | 135 | 89 | 1k+ | Text Domain Mismatch | |
| #325 | WP2Social Auto Publish | 35 | 643 | 215 | 9k+ | Unsafe Printing Function | |
| #326 | OT Flatsome Vertical Menu | 35 | 126 | 26 | 10k+ | Text Domain Mismatch | |
| #327 | Paytm Payment Gateway | 35 | 92 | 104 | 3k+ | Missing Arg Domain | |
| #328 | Poptin – Email Marketing Automation, Newsletter & Exit Pop Ups, Email Popups | 35 | 173 | 34 | 20k+ | Output Not Escaped | |
| #329 | Recurio – Ultimate Subscription for WooCommerce | 35 | 41 | 300 | 1k+ | Direct Query | |
| #330 | Sprout Invoices – Client Invoicing & Estimates | 35 | 40 | 1,798 | 1k+ | Non Prefixed Hookname Found | |
| #331 | WPElemento Importer | 35 | 126 | 123 | 9k+ | Text Domain Mismatch | |
| #332 | Optimize Social Share | 36 | 203 | 61 | 3k+ | Unsafe Printing Function | |
| #333 | Lara's Google Analytics (GA4) | 36 | 303 | 57 | 9k+ | Unsafe Printing Function | |
| #334 | Legal Text Connector of the IT-Recht Kanzlei | 36 | 45 | 46 | 10k+ | Exception Not Escaped | |
| #335 | Simple Banner – Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website | 36 | 216 | 50 | 50k+ | Output Not Escaped | |
| #336 | Stripe Tax – Sales tax automation for WooCommerce | 36 | 97 | 61 | 30k+ | Exception Not Escaped | |
| #337 | Async JavaScript | 37 | 357 | 79 | 70k+ | Unsafe Printing Function | |
| #338 | Banhammer – Monitor Site Traffic, Block Bad Users and Bots | 37 | 104 | 174 | 1k+ | Output Not Escaped | |
| #339 | Duo Two-Factor Authentication | 37 | 44 | 61 | 3k+ | Missing | |
| #340 | Gmail SMTP | 37 | 84 | 73 | 10k+ | Unsafe Printing Function | |
| #341 | Images to WebP | 37 | 39 | 50 | 9k+ | curl curl setopt | |
| #342 | JS Help Desk – AI-Powered Support & Ticketing System | 37 | 12 | 405 | 7k+ | Missing | |
| #343 | Piraeus Bank WooCommerce Payment Gateway | 37 | 146 | 104 | 3k+ | Non Singular String Literal Domain | |
| #344 | Viva Payments – Viva Wallet WooCommerce Payment Gateway | 37 | 33 | 33 | 1k+ | curl curl setopt | |
| #345 | Hustle – Email Marketing, Lead Generation, Optins, Popups | 37 | 4,874 | 5,942 | 90k+ | Non Prefixed Variable Found | |
| #346 | WP-Cron Control | 37 | 54 | 22 | 1k+ | Output Not Escaped | |
| #347 | SoftTech-IT bKash, Rocket, Nagad | 38 | 164 | 81 | 6k+ | Text Domain Mismatch | |
| #348 | Country Code Selector | 38 | 91 | 20 | 1k+ | Unsafe Printing Function | |
| #349 | External Store for Shopify | 38 | 97 | 33 | 2k+ | Output Not Escaped | |
| #350 | Leaflet Map | 39 | 59 | 32 | 30k+ | Output Not Escaped |