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
#551WPReplace内容字符替换插件33209195800Non Singular String Literal Domain
#552XML Sitemaps3365622k+Output is not escaped
#553Advanced Custom Fields: reCAPTCHA Field3410453800Text Domain Mismatch
#554affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display34326752k+Output is not escaped
#555All-in-One WP Migration and Backup3447695m+Missing nonce verification
#556AyeCode Connect3417825310k+Nonce verification recommended
#557Garden Gnome Package34116514k+Text Domain Mismatch
#558Geolocation IP Detection3422716720k+Output is not escaped
#559Image Cleanup3452941k+Nonce verification recommended
#560IP2Location Country Blocker342958830k+Output is not escaped
#561Lenix Leads Collector3441424210k+Text Domain Mismatch
#562MantraBrain Starter Sites | MantraBrain Theme Demo Importer34117611k+Output is not escaped
#563Meow Lightbox34755210k+Non Singular String Literal Domain
#564NextGEN Gallery Optimizer34128922k+Output is not escaped
#565Meta pixel for WordPress349138400k+Exception output is not escaped
#566Child Theme Creator by Orbisius34863910k+Output is not escaped
#567PDF Invoices and Packing Slips For WooCommerce341082841k+Non-prefixed global variable
#568Redirection34322932m+Non-prefixed class
#569Software License Manager3469289900Nonce verification recommended
#570Weaver Xtreme Theme Support341,625439k+Text Domain Mismatch
#571Kybernaut IČO DIČ3482983k+Missing nonce verification
#572Thumbnail Slider With Lightbox34244141700Output is not escaped
#573Thumbnail carousel slider342771432k+Output is not escaped
#574WP-SCSS342691340k+Exception output is not escaped
#575Vertical Image Slider342641381k+Output is not escaped
#576Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades34571195100k+Output is not escaped
#577Abandoned Checkout Recovery & Order Notifications for WooCommerce3510877800Text Domain Mismatch
#578Air WP Sync – Airtable to WordPress3538421k+Non-prefixed hook name
#579Cloudflare352785200k+Non-prefixed namespace
#580CompressX — AVIF & WebP Converter, Media Replacement352642340k+Missing nonce verification
#581Cookies and Content Security Policy3526141210k+Output is not escaped
#582Custom CSS and JavaScript35389110k+Input is not sanitized
#583Nexi Checkout35453083k+Dynamic hook name
#584Extendify35117168500k+Non-prefixed global variable
#585External Links Overview3557200800Non-prefixed global variable
#586Windows Compatibility Fix351361k+Plugin Directory Write
#587Full Width Banner Slider Wp352391402k+Output is not escaped
#588Import Users & Customers with Meta | WP Ultimate CSV Importer Add-on35271405k+Interpolated SQL is not prepared
#589Instant CSS3525253k+Output is not escaped
#590Kustom Checkout for WooCommerce3510150510k+Dynamic hook name
#591Lenix scss compiler3513334800Exception output is not escaped
#592Less PHP Compiler35163473k+Exception output is not escaped
#593Media Credit3528351k+Non-prefixed global variable
#594Movylo Marketing Automation353888700error log print r
#595NS Cloner – Site Copier3529167k+Missing direct file access protection
#596Plausible Analytics352446110k+Exception output is not escaped
#597Post List Featured Image351121001k+Output is not escaped
#598Security Optimizer – The All-In-One Protection Plugin3540821m+Request data is not unslashed
#599Simple History – Track, Log, and Audit WordPress Changes3532122300k+Non-prefixed global variable
#600String locator3552319100k+Non-prefixed global variable