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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#451ezCache2612728810k+Direct Query
#452Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager2611359790k+Non-prefixed global variable
#453FV Antispam26332239900Output is not escaped
#454Icegram Collect – Easy Form, Lead Collection and Subscription plugin264232922k+Output is not escaped
#455Integrate Razorpay for Contact Form 72615297500curl curl setopt
#456Klarna for WooCommerce2628450730k+Dynamic hook name
#457Landing Page Cat – Coming Soon & Maintenance Pages2691180600Non-prefixed class
#458Login Widget With Shortcode263351986k+wp function not compatible with requires wp
#459Media File Renamer: Rename for better SEO (AI-Powered)2615417040k+Direct Query
#460Hotel Booking266909404k+Unsafe printing function
#461Paytium: Mollie payment forms & donations265065513k+Unsafe printing function
#462Crowdsignal Dashboard – Polls, Surveys & more26481491200k+Unsafe printing function
#463Pressidium Cookie Consent262039510k+Exception output is not escaped
#464RestaurantPress26265518600Output is not escaped
#465SP Move Login268812156k+Text Domain Mismatch
#466Sliced Invoices – WordPress Invoice Plugin266844555k+Output is not escaped
#467URL Image Importer – Import External Images to the Media Library from URL, CSV & XML26143239700Missing nonce verification
#468User Avatar261041734k+Non-prefixed constant
#469User Submitted Posts – Enable Users to Submit Posts from the Front End2669939610k+Text Domain Mismatch
#470Visitors Online by BestWebSoft265122691k+Text Domain Mismatch
#471Polls CP27399500400Output is not escaped
#472Cyrlitera – Transliteration of Links and File Names2745320440k+Output is not escaped
#473EZ SQL Reports Shortcode Widget and DB Backup27165158500Output is not escaped
#474Everest Backup – WordPress Cloud Backup, Migration, Restore & Cloning Plugin271221353k+Non-prefixed global variable
#475Login for Google Apps271398510k+Exception output is not escaped
#476iQ Block Country2716424520k+Request data is not unslashed
#477Ray Enterprise Translation27876068k+Non-prefixed global variable
#478LWS Optimize – All-in-One Speed Booster & Cache Tools273451810k+Non-prefixed global variable
#479MW WP Form27334219200k+Output is not escaped
#480Packlink PRO for WooCommerce2713216020k+Non-prefixed global variable
#481Rate My Post – Star Rating Plugin by FeedbackWP2722236020k+Output is not escaped
#482Robokassa payment gateway for Woocommerce27952113k+Non-prefixed global variable
#483Sign-up Sheets273253631k+Output is not escaped
#484Speed Booster Pack ⚡ PageSpeed Optimization Suite271081879k+Missing Translators Comment
#485Stream Video Player27220135600Output is not escaped
#486Theme One Click Demo Importer27210157500Text Domain Mismatch
#487Verge3D Publishing and E-Commerce27245298400Nonce verification recommended
#488Mihdan: Ajax Edit Comments271,300523400Text Domain Mismatch
#489Content Pilot – Autoblogging & Affiliate Marketing Suite27299269900Output is not escaped
#490WP-DBManager2738630460k+Non-prefixed global variable
#491WP Events Manager2729441530k+Output is not escaped
#492WP Hide & Security Enhancer2712437550k+Input is not sanitized
#493WP Activity Log2796230300k+Nonce verification recommended
#494WPBase Cache271891132k+Text Domain Mismatch
#495Redirection for Contact Form 72734374200k+Non-prefixed global variable
#496Code Engine – PHP Snippets, AI Functions & Automation for WordPress2812496700Non Singular String Literal Domain
#497Database Cleaner2813929410k+Direct Query
#498Dynamic User Directory284032561k+Output is not escaped
#499Event Tickets Manager for WooCommerce281826551k+Non-prefixed global variable
#500Reviews and Rating – Google Reviews2834321920k+Text Domain Mismatch