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
#501Laposta Signup Basic28276672k+Output is not escaped
#502MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor2862246600k+Non-prefixed global variable
#503Perfect Brands for WooCommerce2811214340k+Non-prefixed constant
#504PHP Browser Detection286849600Non-prefixed function
#505Product Sync for WooCommerce28158375400Direct Query
#506PushAlert – Web Push Notifications for WordPress and WooCommerce28196631k+curl curl setopt
#507Redis Object Cache28151103400k+Exception output is not escaped
#508Secure Downloads28616406600Output is not escaped
#509Temporary Login Without Password28128131100k+wp function not compatible with requires wp
#510Ultimate FAQ Accordion Plugin2838622730k+Unsafe printing function
#511WeeConnectPay – Clover Payment Gateway for WooCommerce28179171500Exception output is not escaped
#512WPS Bidouille2847221510k+Output is not escaped
#513WxSync-标准云微信公众号文章免费采集-任意公众号自动采集付费购买2857138500Request data is not unslashed
#514AppPresser – Mobile App Framework292622141k+Text Domain Mismatch
#515aThemeArt Theme Helper292061512k+Non-prefixed global variable
#516Bitcoin Payments – Blockonomics292082272k+Output is not escaped
#517CloudSecure WP Security2974350100k+Request data is not unslashed
#518DB Cache Reloaded Fix29133422k+Output is not escaped
#519Di Themes Demo Site Importer293431831k+Text Domain Mismatch
#520Document Gallery29183988k+Output is not escaped
#521Interactive Image Map Plugin – Draw Attention2962022720k+Output is not escaped
#522Easy HTTPS Redirection (SSL)29266152100k+Unsafe printing function
#523Kits, Templates and Patterns29380915k+Text Domain Mismatch
#524Laposta WooCommerce2996115500Non-prefixed global variable
#525Meow Gallery2911318210k+Direct Query
#526Offload Media – Cloud Storage29126801k+unlink unlink
#527Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization2980162200k+Nonce verification recommended
#528pCloud WP Backup29120731k+Exception output is not escaped
#529PhastPress29955210k+Exception output is not escaped
#530Pósturinn\'s Shipping with WooCommerce29713551500Text Domain Mismatch
#531Social Engine2913390600Exception output is not escaped
#532SQLite Database Integration29161893k+Exception output is not escaped
#533Tilda-publishing2921978700Output is not escaped
#534Visualizer – Tables & Charts Manager with Built-in AI Generator2934833120k+Output is not escaped
#535Widget for Yelp Reviews291471582k+Output is not escaped
#536Sofortueberweisung Gateway for Woocommerce2910471700Output is not escaped
#537WP-PostRatings2942538430k+Output is not escaped
#538XML for Google Merchant Center29523123k+Non-prefixed global variable
#539Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance30164439100k+Interpolated SQL is not prepared
#540Contact Form 7 Connector303241965k+Text Domain Mismatch
#541EDI – Обмен данными между WooCommerce и 1С30284101600Text Domain Mismatch
#542Element Invader – Template Kits for Elementor302741303k+Output is not escaped
#543Eway Payment Gateway3050992800Missing Translators Comment
#544Export Plugins and Templates30143331k+file system operations fread
#545PiWeb Export Customers Users & Guest customer to CSV for WooCommerce30173751k+Text Domain Mismatch
#546Formzu WP301671633k+Text Domain Mismatch
#547Import WooCommerce Suite for Products, Orders, Coupons, Reviews, and Customers | WP Ultimate CSV Importer30804344k+Interpolated SQL is not prepared
#548Invisible reCaptcha for WordPress309018580k+Input is not sanitized
#549Jetpack Protect30657217100k+Text Domain Mismatch
#550Laposta Signup Embed3088191k+Exception output is not escaped