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 |
|---|---|---|---|---|---|---|---|
| #351 | Virusdie | One-click website security | 39 | 149 | 66 | 2k+ | Output Not Escaped | |
| #352 | Advanced IP Blocker | 40 | 94 | 44 | 1k+ | Exception Not Escaped | |
| #353 | WP All Import – Job Listing Import for WP Job Manager | 40 | 35 | 27 | 2k+ | Output Not Escaped | |
| #354 | Heroic Favicon Generator | 41 | 104 | 7 | 6k+ | Output Not Escaped | |
| #355 | Gateway zibal for Woocommerce | 44 | 70 | 24 | 5k+ | Text Domain Mismatch | |
| #356 | reCAPTCHA for Asgaros Forum | 45 | 21 | 36 | 4k+ | Input Not Validated | |
| #357 | Export Import Menus | 46 | 23 | 28 | 10k+ | Missing | |
| #358 | Gateway AqayePardakht for Woocommerce | 47 | 72 | 23 | 4k+ | Text Domain Mismatch | |
| #359 | Instamojo for WooCommerce | 48 | 72 | 44 | 5k+ | Text Domain Mismatch | |
| #360 | Sitemap Generator | 50 | 60 | 26 | 3k+ | Output Not Escaped | |
| #361 | WPKoi Templates for Elementor | 50 | 935 | 25 | 5k+ | Text Domain Mismatch | |
| #362 | Menu Icons by Themeisle – Add Icons to Navigation Menus | 51 | 34 | 22 | 100k+ | Output Not Escaped | |
| #363 | Genesis Simple Share | 56 | 11 | 43 | 10k+ | Non Prefixed Variable Found | |
| #364 | Payment Gateway for LiqPay for Woocommerce | 59 | 84 | 31 | 1k+ | Text Domain Mismatch | |
| #365 | HelloAsso | 60 | 132 | 89 | 4k+ | Echo Found | |
| #366 | Satispay for WooCommerce | 62 | 19 | 12 | 7k+ | Exception Not Escaped | |
| #367 | XPoster – Share to Bluesky and Mastodon | 62 | 26 | 36 | 10k+ | Missing | |
| #368 | Custom Currency for WooCommerce | 70 | 63 | 5 | 2k+ | missing direct file access protection | |
| #369 | Anchor Episodes Index (Spotify for Podcasters) | 75 | 32 | 3 | 1k+ | Text Domain Mismatch | |
| #370 | Gutenverse Companion | 81 | 16 | 29 | 8k+ | Recommended | |
| #371 | WP YouTube Live | 86 | 28 | 24 | 1k+ | Non Prefixed Function Found | |
| #372 | Genesis Blocks | 88 | 154 | 9 | 40k+ | Offloaded Content | |
| #373 | WP Force SSL & HTTPS SSL Redirect | 92 | 18 | 21 | 90k+ | Non Prefixed Variable Found |