WordPress.WP.AlternativeFunctions.curl_curl_file_create

curl curl file create

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
#1WPQiNiu七牛云对象存储19138612400Non-prefixed global variable
#2Easy Digital Downloads – eCommerce Payments and Subscriptions made easy233,7028,48640k+Non-prefixed namespace
#3InfiniteWP Client232,3791,844200k+Exception output is not escaped
#4NextScripts: Social Networks Auto-Poster232,2321,01420k+Unsafe printing function
#5Trinity Audio – Text to Speech AI audio player to convert content into audio231192272k+Non-prefixed global variable
#6BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript252045564k+Non-prefixed global variable
#7Backup, Restore and Migrate your sites with XCloner2523886410k+Input is not sanitized
#8Assistant – Every Day Productivity Apps34123984k+Exception output is not escaped
#9Converter for Media – Optimize images | Convert WebP & AVIF3512853500k+curl curl setopt
#10ImageKit – URL based image manipulation and optimization8747421k+Non-prefixed global variable