WordPress.WP.AlternativeFunctions.file_system_operations_fclose

file system operations fclose

The plugin performs filesystem work with raw PHP functions where WordPress expects safer filesystem handling.

medium weight

Why It Shows Up

Plugin Check found functions such as `fopen`, `fwrite`, `chmod`, `mkdir`, `readfile`, or related operations.

Why It Matters

WordPress sites can use different filesystem permissions and transports. Raw filesystem calls can fail on common hosts or write to unsafe locations.

How to Fix

  • Use WordPress filesystem helpers when writing, reading, or changing files in plugin-managed paths.
  • Validate paths and keep writes inside directories owned by the plugin or WordPress uploads.
  • Never write PHP code from user input or remote responses.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#701VG WORT METIS28150317900Nonce verification recommended
#70210WebSocial2858418510k+Unsafe printing function
#703WeeConnectPay – Clover Payment Gateway for WooCommerce28179171500Exception output is not escaped
#704WPS Bidouille2847221510k+Output is not escaped
#705WxSync-标准云微信公众号文章免费采集-任意公众号自动采集付费购买2857138500Request data is not unslashed
#706Accordion Slider Gallery293791421k+Text Domain Mismatch
#707Alt Text AI – Automatically generate image alt text for SEO and accessibility297228020k+Non-prefixed global variable
#708AppPresser – Mobile App Framework292622141k+Text Domain Mismatch
#709aThemeArt Theme Helper292061512k+Non-prefixed global variable
#710Bitcoin Payments – Blockonomics292082272k+Output is not escaped
#711Integration for Salesforce and Contact Form 7, WPForms, Elementor, Formidable, Ninja Forms292363692k+Non-prefixed global variable
#712CloudSecure WP Security2974350100k+Request data is not unslashed
#713DB Cache Reloaded Fix29133422k+Output is not escaped
#714Di Themes Demo Site Importer293431831k+Text Domain Mismatch
#715Document Gallery29183988k+Output is not escaped
#716Interactive Image Map Plugin – Draw Attention2962022720k+Output is not escaped
#717FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider297478600k+Missing Translators Comment
#718Easy HTTPS Redirection (SSL)29266152100k+Unsafe printing function
#719Integration for Pipedrive and Contact Form 7, WPForms, Elementor, Ninja Forms296253511k+Text Domain Mismatch
#720Interactive World Map296843411k+Text Domain Mismatch
#721Kits, Templates and Patterns29380915k+Text Domain Mismatch
#722Laposta WooCommerce2996115500Non-prefixed global variable
#723Meow Gallery2911318210k+Direct Query
#724Offload Media – Cloud Storage29126801k+unlink unlink
#725Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization2980162200k+Nonce verification recommended
#726pCloud WP Backup29120731k+Exception output is not escaped
#727PhastPress29955210k+Exception output is not escaped
#728Pósturinn\'s Shipping with WooCommerce29713551500Text Domain Mismatch
#729Social Engine2913390600Exception output is not escaped
#730SQLite Database Integration29161893k+Exception output is not escaped
#731SureMembers – Membership & Content Restriction Plugin293592481k+Text Domain Mismatch
#732Tilda-publishing2921978700Output is not escaped
#733User Verification by PickPlugins29413145k+Request data is not unslashed
#734Visualizer – Tables & Charts Manager with Built-in AI Generator2934833120k+Output is not escaped
#735Sofortueberweisung Gateway for Woocommerce2910471700Output is not escaped
#736Woostify Sites Library2922919820k+Text Domain Mismatch
#737WP-PostRatings2942538430k+Output is not escaped
#738XML for Google Merchant Center29523123k+Non-prefixed global variable
#739Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance30164439100k+Interpolated SQL is not prepared
#740Contact Form 7 Connector303241965k+Text Domain Mismatch
#741BrightEdge Autopilot3010831600curl curl setopt
#742EDI – Обмен данными между WooCommerce и 1С30284101600Text Domain Mismatch
#743Easy Affiliate Links301861987k+Missing direct file access protection
#744Element Invader – Template Kits for Elementor302741303k+Output is not escaped
#745Eway Payment Gateway3050992800Missing Translators Comment
#746Export Plugins and Templates30143331k+file system operations fread
#747PiWeb Export Customers Users & Guest customer to CSV for WooCommerce30173751k+Text Domain Mismatch
#748FormLift for Keap (Legacy) Web Forms30162315400Request data is not unslashed
#749Formzu WP301671633k+Text Domain Mismatch
#750Import WooCommerce Suite for Products, Orders, Coupons, Reviews, and Customers | WP Ultimate CSV Importer30804344k+Interpolated SQL is not prepared