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
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Intercom060716k+Non-prefixed function
#3Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#4Plugin Check (PCP)012814010k+Non-prefixed global variable
#5Themify Builder95,3892,2455k+Text Domain Mismatch
#6JetBackup – Backup, Restore & Migrate101,567156200k+Exception output is not escaped
#7404 Solution155821,53210k+Non-prefixed class
#8MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#9AnyComment174454495k+Output is not escaped
#10RestroPress – Online Food Ordering System175363,2361k+Non-prefixed global variable
#11Efí Bank17886553300Exception output is not escaped
#12Shopping Cart & eCommerce Store177,45317,8663k+Non-prefixed global variable
#13WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#14Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution181,229923100k+Exception output is not escaped
#15Pagopar – WooCommerce Gateway185301,215400Non-prefixed global variable
#16GiveWP – Donation Plugin and Fundraising Platform193,4223,570100k+Output is not escaped
#17Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,993892100k+Exception output is not escaped
#18Netgsm193523481k+Non-prefixed global variable
#19Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#20Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195303753m+Missing Translators Comment
#21SendPress Newsletters192,2931,4221k+Output is not escaped
#22WP Email Template193443452k+Exception output is not escaped
#23WPOSS阿里云对象存储19269315900Non-prefixed namespace
#24WPQiNiu七牛云对象存储19138612400Non-prefixed global variable
#25Brizy – Page Builder2058572660k+Output is not escaped
#26Broadstreet20434273800Output is not escaped
#27Download Monitor204231,36780k+Non-prefixed hook name
#28Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More202,8781,9881m+Non-prefixed global variable
#29Event Organiser201,10454420k+Text Domain Mismatch
#30EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#31MBE eShip205277401k+Non-prefixed global variable
#32MAS Videos205191,6931k+Non-prefixed global variable
#33Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#34Shipping for Nova Poshta20598923400Output is not escaped
#35پلاگین پرداخت دلخواه20584446900Text Domain Mismatch
#36Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#37Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#38Razorpay Payment Button Plugin20486942k+Exception output is not escaped
#39Razorpay Payment Button Elementor Plugin20479621k+Exception output is not escaped
#40Membership Plugin – Kadence Memberships205,0893,0059k+Text Domain Mismatch
#41Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#42Events Manager – OpenStreetMaps20559444600Output is not escaped
#43Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools207873,41630k+Non-prefixed global variable
#44WP Compress – Instant Performance & Speed Optimization204,2923,6919k+Non Singular String Literal Domain
#45WP Minify Fix20306380800Output is not escaped
#46Premium Packages – Sell Digital Products Securely202,0412,2992k+Non-prefixed global variable
#47wpForo Forum204,3213,03920k+Unsafe printing function
#48Backup Migration219991,08180k+Non-prefixed global variable
#49Kadence Security – Password, Two Factor Authentication, and Brute Force Protection211,060959700k+Missing Translators Comment
#50Booking Ultra Pro Appointments Booking Calendar Plugin217612,083400Request data is not unslashed