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)012813210k+Exception output is not escaped
#5Themify Builder95,3042,1365k+Text Domain Mismatch
#6JetBackup – Backup, Restore & Migrate101,563149200k+Exception output is not escaped
#7MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#8AnyComment174454495k+Output is not escaped
#9RestroPress – Online Food Ordering System175243,1551k+Non-prefixed global variable
#10Efí Bank17886553400Exception output is not escaped
#11Dynamic Team Manager – Team Member Showcase with grid, slider, table Elementor widget & shortcode179222,014900Non-prefixed global variable
#12wpForo Forum174,0482,92220k+Unsafe printing function
#13WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#14Pagopar – WooCommerce Gateway185301,215400Non-prefixed global variable
#15Podlove Podcast Publisher182,3541,4333k+Output is not escaped
#16Property Hive181,9576,0273k+Missing nonce verification
#17Realtyna Organic IDX plugin + WPL Real Estate189303,6362k+Non-prefixed global variable
#18Shopping Cart & eCommerce Store185,37317,4663k+Non-prefixed global variable
#19Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+Exception output is not escaped
#20AI Infographic Maker191,383599600Output is not escaped
#21Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,900877100k+Exception output is not escaped
#22Netgsm193343081k+Setting is missing a sanitization callback
#23Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#24Razorpay Payment Button Plugin19486982k+Exception output is not escaped
#25Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195363793m+Missing Translators Comment
#26Membership Plugin – Kadence Memberships195,0832,9829k+Text Domain Mismatch
#27SendPress Newsletters192,2931,4221k+Output is not escaped
#28WP Email Template193443452k+Exception output is not escaped
#29WP Import Export Lite1973797940k+Non-prefixed global variable
#30WPJAM Basic193253464k+Output is not escaped
#31WPOSS阿里云对象存储19269315900Non-prefixed namespace
#32WPQiNiu七牛云对象存储19138612400Non-prefixed global variable
#33Brizy – Page Builder2058672670k+Output is not escaped
#34Broadstreet20434273700Output is not escaped
#35Download Monitor204231,36480k+Non-prefixed hook name
#36Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#37Event Organiser201,10454420k+Text Domain Mismatch
#38GiveWP – Donation Plugin and Fundraising Platform203,4103,554100k+Output is not escaped
#39Leaky Paywall20322789600Nonce verification recommended
#40Link Library201,9421,39410k+Unsafe printing function
#41MBE eShip205277401k+Non-prefixed global variable
#42MAS Videos205191,6931k+Non-prefixed global variable
#43Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#44Shipping for Nova Poshta20598923500Output is not escaped
#45پلاگین پرداخت دلخواه20584446900Text Domain Mismatch
#46Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#47Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#48Razorpay Payment Button Elementor Plugin20479621k+Exception output is not escaped
#49Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#50SpeakOut! Email Petitions208509942k+Missing nonce verification