WordPress.WP.AlternativeFunctions.file_system_operations_fwrite

file system operations fwrite

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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Intercom060716k+Non-prefixed function
#3Plugin Check (PCP)012813210k+Exception output is not escaped
#4JetBackup – Backup, Restore & Migrate101,559145100k+Exception output is not escaped
#5AnyComment174454495k+Output is not escaped
#6wpForo Forum174,0332,92220k+Unsafe printing function
#7WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#8Property Hive181,9576,0273k+Missing nonce verification
#9Shopping Cart & eCommerce Store185,45917,2984k+Non-prefixed global variable
#10WP Import Export Lite1873897940k+Non-prefixed global variable
#11Block Slider – Responsive Image Slider, Video Slider & Post Slider195551,2913k+Non-prefixed global variable
#12Download Monitor194251,36480k+Non-prefixed hook name
#13Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+Exception output is not escaped
#14Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,909878100k+Exception output is not escaped
#15Search Atlas SEO – Premier SEO Plugin for One-Click WP Publishing & Integrated AI Optimization191,2952,6799k+Output is not escaped
#16Razorpay Payment Button Plugin19486982k+Exception output is not escaped
#17Realtyna Organic IDX plugin + WPL Real Estate199473,6532k+Non-prefixed global variable
#18Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195413853m+Missing Translators Comment
#19Scrollsequence – Cinematic Scroll Image Animation Plugin198781,5284k+Non-prefixed global variable
#20SendPress Newsletters192,2931,4222k+Output is not escaped
#21WP Email Template193423502k+Exception output is not escaped
#22BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot205081,40630k+Non-prefixed global variable
#23GiveWP – Donation Plugin and Fundraising Platform203,4353,580100k+Output is not escaped
#24Link Library201,9411,39710k+Unsafe printing function
#25MAS Videos205191,6931k+Non-prefixed global variable
#26Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#27Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#28Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#29Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20557541100k+Output is not escaped
#30SpeakOut! Email Petitions208509943k+Missing nonce verification
#31Trace My IP – Visitor IP Tracker, Stats Analytics & Page Views Counter with Email Alerts208663381k+wp function not compatible with requires wp
#32Razorpay for WooCommerce20974855100k+Non-prefixed function
#33WPJAM Basic203283564k+Output is not escaped
#34Backup Migration219811,09380k+Non-prefixed global variable
#35rtMedia for WordPress, BuddyPress and bbPress213636338k+Non-prefixed constant
#36Captcha Them All213003236k+Output is not escaped
#37CartFlows – Funnel Builder & Checkout Plugin for WooCommerce21461614200k+Text Domain Mismatch
#38Comet Cache2185724520k+Output is not escaped
#39Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output is not escaped
#40Envo Extra2187860020k+Text Domain Mismatch
#41EventPrime – Events Calendar, Bookings and Tickets218724,2977k+Non-prefixed global variable
#42Feeds for YouTube (YouTube video, channel, and gallery plugin)21558978100k+Output is not escaped
#43FileOrganizer – WordPress File Manager21536241200k+unlink unlink
#44Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More21521,959300k+Non-prefixed global variable
#45Campaign Monitor for WordPress213864612k+Non-prefixed global variable
#46JCH Optimize219531334k+Output is not escaped
#47MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder211,1333,0112k+Non-prefixed global variable
#48Modular DS: Monitor, update, and backup multiple websites211618140k+Exception output is not escaped
#49Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred211,4693,33310k+Non-prefixed global variable
#50Packeta218023338k+Exception output is not escaped