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
#1051WoowGallery60151781k+Non-prefixed global variable
#1052Import entries for Gravity Forms62626500Input is not validated
#1053Easy SSL Plugin for SAKURA Rental Server62231750k+Input is not sanitized
#1054Include Klaviyo for Elementor pro6360102k+Missing Arg Domain
#1055Admin CSS MU643058210k+Non-prefixed global variable
#1056CV Demo Importer642195400Non-prefixed global variable
#1057Embed Google Fonts642875k+Output is not escaped
#1058WP Search with Algolia6426167k+Exception output is not escaped
#1059QRCode652139400Non-prefixed constant
#1060WP-Farsi652636600Non-prefixed function
#1061Debug Log Manager – Conveniently Monitor and Inspect Errors66334410k+Input is not validated
#1062Easy PHP Settings6634481k+Missing Translators Comment
#1063Really Simple CSV Importer6638840k+Output is not escaped
#1064Safe Redirect Manager6696040k+Non-prefixed hook name
#1065Meks Audio Player672571k+Output is not escaped
#1066Printful Integration for WooCommerce672187650k+Text Domain Mismatch
#1067Simple HTTPS671713400Output is not escaped
#1068wp-Typography67913320k+Missing direct file access protection
#1069Desert Companion6841283720k+Non-prefixed global variable
#1070Russian Post and EMS for WooCommerce6816471k+Non-prefixed global variable
#1071WiserReview Product Reviews for WooCommerce6821110900Non-prefixed global variable
#1072Debug6925342k+Input is not sanitized
#1073Show-Hide / Collapse-Expand70181510k+Missing direct file access protection
#1074SQL Executioner7018172k+Non-prefixed global variable
#1075Bold Timeline Lite7122056110k+Non-prefixed global variable
#1076Nginx Helper714760200k+Non-prefixed global variable
#1077Shipping Rate By Cities72421700Direct Query
#1078TinyPNG – JPEG, PNG & WebP image compression724073100k+Non-prefixed global variable
#1079Emergency password reset735614800wp function not compatible with requires wp
#1080Export Plugin Details731362k+Output is not escaped
#1081WPWaterMark 轻水印插件7324171k+Request data is not unslashed
#1082wp-forecast752631175k+Missing Arg Domain
#1083Cache External Scripts76214900Output is not escaped
#1084WordPress REST API (Version 2)824761310k+Missing Arg Domain
#1085Soro – SEO Autopilot & AI Content Writer834109k+Input is not sanitized
#1086Cachify849369k+Non-prefixed global variable
#1087Digital Signature For Contact Form 78422115k+file system operations fwrite
#1088Salt Shaker8515136k+Interpolated SQL is not prepared
#1089VenoMaps – OpenStreetMap & Privacy-Friendly Geo Maps86206400wp function not compatible with requires wp
#1090Microsoft Azure Storage for WordPress8625262k+Missing Translators Comment
#1091Transferito: WP Migration8816115500Non-prefixed global variable
#1092External files in Media Library901668400Direct Query
#1093Snow Monkey Forms91364130k+Non-prefixed global variable
#1094Drag and Drop File Upload for Elementor Forms942911k+curl curl setopt
#1095Speed Up – Browser Caching95132700file system operations is writable
#1096All Sources Images – Free Images from Pixabay, Unsplash, Openverse, Pexels & Giphy9699700wp function not compatible with requires wp
#1097Enable SVG, WebP, and ICO Upload96121610k+Non-prefixed global variable
#1098Grow for WordPress967510k+trademarked term
#1099iGen SEO96510400Non-prefixed hook name
#1100Flexible Cookies975393k+Non-prefixed global variable