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
#801Known Agents – Track AI Bots and Crawlers, Block Scrapers, Analyze LLM Referral Traffic5737121k+Setting is missing a sanitization callback
#802PDF invoice for WP ERP58961342k+Non-prefixed global variable
#803Videopack582810810k+Input is not sanitized
#804Surge6046474k+Non-prefixed global variable
#805WoowGallery60151781k+Non-prefixed global variable
#806Easy SSL Plugin for SAKURA Rental Server62231750k+Input is not sanitized
#807Include Klaviyo for Elementor pro6360102k+Missing Arg Domain
#808Admin CSS MU643058210k+Non-prefixed global variable
#809Embed Google Fonts642875k+Output is not escaped
#810Яндекс.ПДС Пингер / Yandex Site search pinger64215800Output is not escaped
#811QRCode652139400Non-prefixed constant
#812WP-Farsi652636600Non-prefixed function
#813Affiliates Manager Google reCAPTCHA Integration671810400Request data is not unslashed
#814Meks Audio Player672571k+Output is not escaped
#815Simple HTTPS671713400Output is not escaped
#816wp-Typography67913320k+Missing direct file access protection
#817Product Category Slider for WooCommerce6821104800Non-prefixed hook name
#818In-feed ads for Google AdSense7020207k+Non-prefixed global variable
#819Show-Hide / Collapse-Expand70181510k+Missing direct file access protection
#820Bold Timeline Lite7122056110k+Non-prefixed global variable
#821Nginx Helper714760200k+Non-prefixed global variable
#822WPWaterMark 轻水印插件7324171k+Request data is not unslashed
#823reCAPTCHA for bbPress751419800Non-prefixed function
#824Cache External Scripts76214900Output is not escaped
#825WordPress REST API (Version 2)824761310k+Missing Arg Domain
#826Cachify849369k+Non-prefixed global variable
#827Digital Signature For Contact Form 78422115k+file system operations fwrite
#828LegalBlink for Aruba9133297k+Missing direct file access protection
#829Snow Monkey Forms91364130k+Non-prefixed global variable
#830Speed Up – Browser Caching95132700file system operations is writable
#831Grow for WordPress967510k+trademarked term
#832Stock Exporter for WooCommerce982141k+Non-prefixed hook name
#833BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot991130k+file system operations fwrite