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
#751Migrate Store: Export and Import WooCommerce Settings3837331k+Non-prefixed global variable
#752SCSS WP Editor3811140900Exception output is not escaped
#753Smart Cookie Kit38263813k+Output is not escaped
#754Standout CSS3 Buttons3818315500Output is not escaped
#755Admin Custom Font3934251k+Unsafe printing function
#756Andreani WooCommerce392186700Non-prefixed global variable
#757Kikote – Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce3976641k+Missing Translators Comment
#758Purge Varnish Cache391131511k+Non-prefixed global variable
#759Sync Post With Other Site39179213k+Non Singular String Literal Domain
#760TinyMCE Custom Styles39297767k+Non Singular String Literal Domain
#761Use Any Font | Custom Font Uploader393655200k+Request data is not unslashed
#762Website LLMs.txt391314540k+Non-prefixed global variable
#763htaccess protect392833800Input is not validated
#764Database Addon for Contact Form 7 – CFDB7403556600k+Nonce verification recommended
#765Custom Contact Forms40131066k+Missing nonce verification
#766Far Future Expiry Header4025367k+Request data is not unslashed
#767Heroic Favicon Generator4110476k+Output is not escaped
#768FluentAffiliate – Affiliate Program Management Suite, Affiliates Manager41115141k+Exception output is not escaped
#769WooCommerce Colors41632810k+Output is not escaped
#770Spam Protect for Contact Form 741166110k+Request data is not unslashed
#771WP Media folders4119743k+Direct Query
#772多合一搜索自动推送管理插件-支持Baidu/Google/Bing/IndexNow/Yandex/头条4217382k+Input is not sanitized
#773Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution421111720k+Exception output is not escaped
#774Mailster Cool Captcha426528400Text Domain Mismatch
#775WP QuickLaTeX4241604k+Non-prefixed global variable
#776WP SmartCrop4343124k+Output is not escaped
#777SmartVideo – Video Player and CDN44295441k+Text Domain Mismatch
#778Contact Form 7 Signature Addon45147446k+Text Domain Mismatch
#779JetHost Total Care – Security & Enhancements451085800Direct Query
#780reCAPTCHA for Asgaros Forum4521364k+Input is not validated
#781Official CleverReach® Plugin for WooCommerce463798400Non-prefixed global variable
#782404 Image Redirection (Replace Broken Images)4711885500Text Domain Mismatch
#783Import Users from CSV47331210k+Unsafe printing function
#784The Tribal Plugin474362800Non-prefixed function
#785iControlWP4745591k+Missing direct file access protection
#786WP Prefix Changer472716900Missing Arg Domain
#787Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+Missing direct file access protection
#788Drag and Drop Multiple File Upload for WooCommerce49114295k+Text Domain Mismatch
#789SpinupWP49433830k+Non-prefixed function
#790PDF Invoices & Packing Slips for WooCommerce – Challan49561514k+Non-prefixed global variable
#791Dolyame Payment gateway5112210700Text Domain Mismatch
#792Price Based on Country for WooCommerce524312620k+Non-prefixed hook name
#793Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely53349020k+Database parameter is not escaped
#794CSV Importer5424113k+Missing direct file access protection
#795AI Agent by SiteGround542861m+Exception output is not escaped
#796Yext Plugin551623700Non-prefixed function
#797Review Stream564142400Non-prefixed global variable
#798ThemeinWP Import Companion5617144k+Unsafe printing function
#799Known Agents – Track AI Bots and Crawlers, Block Scrapers, Analyze LLM Referral Traffic5737121k+Setting is missing a sanitization callback
#800PDF invoice for WP ERP58961342k+Non-prefixed global variable