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
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Intercom060716k+Non-prefixed function
#3Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#4Plugin Check (PCP)012813210k+Exception output is not escaped
#5JetBackup – Backup, Restore & Migrate101,563149200k+Exception output is not escaped
#6MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#7AnyComment174454495k+Output is not escaped
#8RestroPress – Online Food Ordering System175243,1551k+Non-prefixed global variable
#9Efí Bank17886553400Exception output is not escaped
#10wpForo Forum174,0482,92220k+Unsafe printing function
#11WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#12Pagopar – WooCommerce Gateway185301,215400Non-prefixed global variable
#13Podlove Podcast Publisher182,3541,4333k+Output is not escaped
#14Property Hive181,9576,0273k+Missing nonce verification
#15Realtyna Organic IDX plugin + WPL Real Estate189303,6362k+Non-prefixed global variable
#16Shopping Cart & eCommerce Store185,37317,4663k+Non-prefixed global variable
#17Block Slider – Responsive Image Slider, Video Slider & Post Slider195551,2913k+Non-prefixed global variable
#18Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,218901100k+Exception output is not escaped
#19AI Infographic Maker191,383599600Output is not escaped
#20Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,900877100k+Exception output is not escaped
#21Netgsm193343081k+Setting is missing a sanitization callback
#22Razorpay Payment Button Plugin19486982k+Exception output is not escaped
#23Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195363793m+Missing Translators Comment
#24Scrollsequence – Cinematic Scroll Image Animation Plugin198781,5284k+Non-prefixed global variable
#25SendPress Newsletters192,2931,4221k+Output is not escaped
#26WP Email Template193443452k+Exception output is not escaped
#27WP Import Export Lite1973797940k+Non-prefixed global variable
#28WPJAM Basic193253464k+Output is not escaped
#29WPOSS阿里云对象存储19269315900Non-prefixed namespace
#30Broadstreet20434273700Output is not escaped
#31Download Monitor204231,36480k+Non-prefixed hook name
#32Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#33GiveWP – Donation Plugin and Fundraising Platform203,4103,554100k+Output is not escaped
#34Link Library201,9421,39410k+Unsafe printing function
#35MAS Videos205191,6931k+Non-prefixed global variable
#36Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#37Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#38Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#39Razorpay Payment Button Elementor Plugin20479621k+Exception output is not escaped
#40Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#41SpeakOut! Email Petitions208509942k+Missing nonce verification
#42Razorpay for WooCommerce20975859100k+Non-prefixed function
#43WP Minify Fix20306380800Output is not escaped
#44Backup Migration219811,09380k+Non-prefixed global variable
#45Kadence Security – Password, Two Factor Authentication, and Brute Force Protection211,060957700k+Missing Translators Comment
#46Booking Ultra Pro Appointments Booking Calendar Plugin217612,083400Request data is not unslashed
#47Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6212,03310k+Direct Query
#48rtMedia for WordPress, BuddyPress and bbPress213636477k+Non-prefixed constant
#49Captcha Them All213003235k+Output is not escaped
#50CartFlows – Funnel Builder & Checkout Plugin for WooCommerce21462656200k+Text Domain Mismatch