WordPress.WP.AlternativeFunctions.file_system_operations_fopen

file system operations fopen

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
#951.htaccess Site Access Control375467800Input is not sanitized
#952Injection Guard3786451k+Unsafe printing function
#953Job Manager & Career – Manage job board listings, and recruitments371122052k+Missing nonce verification
#954Local Time Clock37105111k+Output is not escaped
#955Meks Video Importer37622392k+Input is not sanitized
#956PNG to JPG3713017310k+Interpolated SQL is not prepared
#957Sensei LMS Certificates37973624k+Non-prefixed global variable
#958Spam Destroyer3763436k+rand rand
#959TelSender – Сontact form 7, Events, Wpforms, ninja forms and woocommerce to telegram bot3748406k+Unsafe printing function
#960Tilopay37351301k+Nonce verification recommended
#961Tracking Code Manager37554290k+Output is not escaped
#962Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin3799339k+Text Domain Mismatch
#963Fix Media Library3753711k+Output is not escaped
#964Special Text Boxes3738422k+Direct Query
#965Anant Sites — Elementor & Gutenberg Readymade Template Library Free & Pro Templates38201561k+Non-prefixed global variable
#966Audio Story Images384644400Output is not escaped
#967Automatic Post Tagger385923072k+Output is not escaped
#968country-redirect385819400Text Domain Mismatch
#969CRUDLab Disable Comments382054700Missing nonce verification
#970HashThemes Demo Importer3871446k+Output is not escaped
#971Lana Downloads Manager38146783k+Unsafe printing function
#972Simple Keyword to Link3890493k+Non Singular String Literal Domain
#973Smart Cookie Kit38263813k+Output is not escaped
#974Standout CSS3 Buttons3818315500Output is not escaped
#975WP Maintenance Mode & Site Under Construction3872573k+Output is not escaped
#976WP-ServerInfo381625510k+Output is not escaped
#977WPTurbo -WordPress性能优化插件382034700Output is not escaped
#978Admin Custom Font3934251k+Unsafe printing function
#979Andreani WooCommerce392186800Non-prefixed global variable
#980Australia Post WooCommerce Extension3999123k+Text Domain Mismatch
#981GS Only PDF Preview3946361k+Output is not escaped
#982Kikote – Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce3976641k+Missing Translators Comment
#983Movable Type and TypePad Importer39422520k+Output is not escaped
#984NextGEN Download Gallery3957212k+Short PHP open tag found
#985Purge Varnish Cache391131511k+Non-prefixed global variable
#986Royal Mail Shipping Calculator for WooCommerce3961311k+Text Domain Mismatch
#987Sync Post With Other Site39179213k+Non Singular String Literal Domain
#988TinyMCE Custom Styles39297767k+Non Singular String Literal Domain
#989Use Any Font | Custom Font Uploader393655200k+Request data is not unslashed
#990Virusdie | One-click website security39149662k+Output is not escaped
#991Website LLMs.txt391314540k+Non-prefixed global variable
#992htaccess protect392833800Input is not validated
#993Advanced Country Blocker4023772k+Exception output is not escaped
#994Advanced IP Blocker4094442k+Exception output is not escaped
#995Database Addon for Contact Form 7 – CFDB7403556600k+Nonce verification recommended
#996Custom Contact Forms40131066k+Missing nonce verification
#997Export Post Info406631k+Unsafe printing function
#998Far Future Expiry Header4025367k+Request data is not unslashed
#999WPO365 | Mail Integration for Office 365 / Outlook4059272k+Output is not escaped
#1000Salat Times4023520500Output is not escaped