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
#701XServer Migrator35395310k+Interpolated SQL is not prepared
#702Yabe Webfont – Use Custom Fonts, Google Fonts or Adobe Fonts35481145k+Non-prefixed hook name
#703authLdap3647304k+Exception output is not escaped
#704bpost shipping369743700Output is not escaped
#705Cashflows for WooCommerce3611836600Text Domain Mismatch
#706Simple SEO3616411310k+Non Singular String Literal Domain
#707CLP – Custom Login Page by NiteoThemes3624049700Output is not escaped
#708ColorMeShop WordPress Plugin3639237600Exception output is not escaped
#709Custom PHP Settings361537610k+Output is not escaped
#710Database Collation Fix3650321k+Output is not escaped
#711Drag and Drop Multiple File Upload for Contact Form 736823660k+wp function not compatible with requires wp
#712Export Variable Products367949400Text Domain Mismatch
#713If-So Geolocation3650571k+Non-prefixed global variable
#714Image Watermark367617940k+Missing nonce verification
#715Just TinyMCE Custom Styles36112281k+Missing Arg Domain
#716Leartes TRY Exchange Rates3625027500Text Domain Mismatch
#717We’re Open!362731875k+Unsafe printing function
#718PDF Forms Filler for CF736185793k+Text Domain Mismatch
#719PDF Forms Filler for WPForms3616154600Text Domain Mismatch
#720افزونه رسمی ترب36428620k+Exception output is not escaped
#721Qubely – Advanced Gutenberg Blocks3639788k+Request data is not unslashed
#722QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly361721088k+Non Singular String Literal Domain
#723Search & Replace365053100k+Missing nonce verification
#724Search Everything361657710k+Text Domain Mismatch
#725Speed Optimizer – The All-In-One Performance-Boosting Plugin3645961m+Non-prefixed hook name
#726Shadowbox JS36246141k+Unsafe printing function
#727SMTP for SendGrid – YaySMTP3627961k+Non-prefixed global variable
#728Export Themes36122902k+Non-prefixed constant
#729WP LaTeX3610312700Output is not escaped
#730Payment Button for PayPal36155864k+Unsafe printing function
#731WP Stripe Checkout361981181k+Unsafe printing function
#732Analytics Spam Blocker377622800Unsafe printing function
#733Avatar Privacy3782361k+Missing direct file access protection
#734Call Now Button – The #1 Click to Call Button for WordPress371,2735200k+Exception output is not escaped
#735Checkout for PayPal3713467600Unsafe printing function
#736Debug Log Viewer3726831k+Missing nonce verification
#737.htaccess Site Access Control375467800Input is not sanitized
#738Injection Guard3786451k+Unsafe printing function
#739Job Manager & Career – Manage job board listings, and recruitments371122052k+Missing nonce verification
#740Meks Video Importer37622392k+Input is not sanitized
#741Sensei LMS Certificates37973624k+Non-prefixed global variable
#742TelSender – Сontact form 7, Events, Wpforms, ninja forms and woocommerce to telegram bot3748406k+Unsafe printing function
#743Tracking Code Manager37554290k+Output is not escaped
#744WP Plugin Info Card3753376500Nonce verification recommended
#745ReCaptcha Integration for WordPress3760669k+Output is not escaped
#746Special Text Boxes3738422k+Direct Query
#747Audio Story Images384644400Output is not escaped
#748Clever Mega Menu for Visual Composer38500871k+Output is not escaped
#749CRUDLab Disable Comments382054700Missing nonce verification
#750Lana Downloads Manager38146783k+Unsafe printing function