WordPress.WP.AlternativeFunctions.file_system_operations_fread

file system operations fread

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
#351Page Optimize357041200k+Non Singular String Literal Domain
#352Planyo online reservation system356490400Output is not escaped
#353Image Quality Control | Still BE355444400Missing Translators Comment
#354Converter for Media – Optimize images | Convert WebP & AVIF3513353500k+curl curl setopt
#355Dashboard Widgets Suite362061244k+Output is not escaped
#356HTML5 Maps361941605k+Output is not escaped
#357Quick 301 Redirects36891205k+Non-prefixed global variable
#358Export Themes36122902k+Non-prefixed constant
#359Debug Log Viewer3726831k+Missing nonce verification
#360Local Time Clock37105111k+Output is not escaped
#361Sensei LMS Certificates37973624k+Non-prefixed global variable
#362Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin37993310k+Text Domain Mismatch
#363country-redirect385819400Text Domain Mismatch
#364WP Maintenance Mode & Site Under Construction3872573k+Output is not escaped
#365WP-ServerInfo381625510k+Output is not escaped
#366GS Only PDF Preview3946361k+Output is not escaped
#367NextGEN Download Gallery3957212k+Short PHP open tag found
#368Virusdie | One-click website security39149662k+Output is not escaped
#369Advanced Country Blocker4023772k+Exception output is not escaped
#370Advanced IP Blocker4094442k+Exception output is not escaped
#371Custom Contact Forms40131066k+Missing nonce verification
#372WPO365 | Mail Integration for Office 365 / Outlook4059272k+Output is not escaped
#373Sentry for WordPress40804010k+Text Domain Mismatch
#374Heroic Favicon Generator4110476k+Output is not escaped
#375Gelato Integration for WooCommerce4236325k+Output is not escaped
#376SmartVideo – Video Player and CDN44295441k+Text Domain Mismatch
#377WP Club Manager – WordPress Sports Club Plugin44171682600Non-prefixed global variable
#378Gravity Forms Constant Contact4636273k+Non-prefixed class
#379Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+Missing direct file access protection
#380SpinupWP49433830k+Non-prefixed function
#381Fullscreen Galleria523710800Output is not escaped
#382Connect Contact Form 7 and Mailchimp532905240k+Text Domain Mismatch
#383Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely53349020k+Database parameter is not escaped
#384CSV Importer5424113k+Missing direct file access protection
#385Yext Plugin551623700Non-prefixed function
#386Gravity PDF5711615220k+Non-prefixed global variable
#387PDF invoice for WP ERP58961342k+Non-prefixed global variable
#388Videopack582810810k+Input is not sanitized
#389flowpaper59133110k+Non-prefixed function
#390Resize Image After Upload59151180k+Output is not escaped
#391Surge6046474k+Non-prefixed global variable
#392WP Search with Algolia6426167k+Exception output is not escaped
#393WP-Farsi652636600Non-prefixed function
#394Debug Log Manager – Conveniently Monitor and Inspect Errors66334410k+Input is not validated
#395Printful Integration for WooCommerce672187650k+Text Domain Mismatch
#396Custom Icons for Elementor and WPBakery74353810k+Non-prefixed global variable
#397wp-forecast752631175k+Missing Arg Domain
#398Soro – SEO Autopilot & AI Content Writer834109k+Input is not sanitized
#399Microsoft Azure Storage for WordPress8625262k+Missing Translators Comment
#400Transferito: WP Migration8816115500Non-prefixed global variable