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.
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.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #701 | XServer Migrator | 35 | 39 | 53 | 10k+ | Interpolated SQL is not prepared | ||
| #702 | Yabe Webfont – Use Custom Fonts, Google Fonts or Adobe Fonts | 35 | 48 | 114 | 5k+ | Non-prefixed hook name | ||
| #703 | authLdap | 36 | 47 | 30 | 4k+ | Exception output is not escaped | ||
| #704 | bpost shipping | 36 | 97 | 43 | 700 | Output is not escaped | ||
| #705 | Cashflows for WooCommerce | 36 | 118 | 36 | 600 | Text Domain Mismatch | ||
| #706 | Simple SEO | 36 | 164 | 113 | 10k+ | Non Singular String Literal Domain | ||
| #707 | CLP – Custom Login Page by NiteoThemes | 36 | 240 | 49 | 700 | Output is not escaped | ||
| #708 | ColorMeShop WordPress Plugin | 36 | 392 | 37 | 600 | Exception output is not escaped | ||
| #709 | Custom PHP Settings | 36 | 153 | 76 | 10k+ | Output is not escaped | ||
| #710 | Database Collation Fix | 36 | 50 | 32 | 1k+ | Output is not escaped | ||
| #711 | Drag and Drop Multiple File Upload for Contact Form 7 | 36 | 82 | 36 | 60k+ | wp function not compatible with requires wp | ||
| #712 | Export Variable Products | 36 | 79 | 49 | 400 | Text Domain Mismatch | ||
| #713 | If-So Geolocation | 36 | 50 | 57 | 1k+ | Non-prefixed global variable | ||
| #714 | Image Watermark | 36 | 76 | 179 | 40k+ | Missing nonce verification | ||
| #715 | Just TinyMCE Custom Styles | 36 | 112 | 28 | 1k+ | Missing Arg Domain | ||
| #716 | Leartes TRY Exchange Rates | 36 | 250 | 27 | 500 | Text Domain Mismatch | ||
| #717 | We’re Open! | 36 | 273 | 187 | 5k+ | Unsafe printing function | ||
| #718 | PDF Forms Filler for CF7 | 36 | 185 | 79 | 3k+ | Text Domain Mismatch | ||
| #719 | PDF Forms Filler for WPForms | 36 | 161 | 54 | 600 | Text Domain Mismatch | ||
| #720 | افزونه رسمی ترب | 36 | 42 | 86 | 20k+ | Exception output is not escaped | ||
| #721 | Qubely – Advanced Gutenberg Blocks | 36 | 39 | 78 | 8k+ | Request data is not unslashed | ||
| #722 | QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly | 36 | 172 | 108 | 8k+ | Non Singular String Literal Domain | ||
| #723 | Search & Replace | 36 | 50 | 53 | 100k+ | Missing nonce verification | ||
| #724 | Search Everything | 36 | 165 | 77 | 10k+ | Text Domain Mismatch | ||
| #725 | Speed Optimizer – The All-In-One Performance-Boosting Plugin | 36 | 45 | 96 | 1m+ | Non-prefixed hook name | ||
| #726 | Shadowbox JS | 36 | 246 | 14 | 1k+ | Unsafe printing function | ||
| #727 | SMTP for SendGrid – YaySMTP | 36 | 27 | 96 | 1k+ | Non-prefixed global variable | ||
| #728 | Export Themes | 36 | 122 | 90 | 2k+ | Non-prefixed constant | ||
| #729 | WP LaTeX | 36 | 103 | 12 | 700 | Output is not escaped | ||
| #730 | Payment Button for PayPal | 36 | 155 | 86 | 4k+ | Unsafe printing function | ||
| #731 | WP Stripe Checkout | 36 | 198 | 118 | 1k+ | Unsafe printing function | ||
| #732 | Analytics Spam Blocker | 37 | 76 | 22 | 800 | Unsafe printing function | ||
| #733 | Avatar Privacy | 37 | 82 | 36 | 1k+ | Missing direct file access protection | ||
| #734 | Call Now Button – The #1 Click to Call Button for WordPress | 37 | 1,273 | 5 | 200k+ | Exception output is not escaped | ||
| #735 | Checkout for PayPal | 37 | 134 | 67 | 600 | Unsafe printing function | ||
| #736 | Debug Log Viewer | 37 | 26 | 83 | 1k+ | Missing nonce verification | ||
| #737 | .htaccess Site Access Control | 37 | 54 | 67 | 800 | Input is not sanitized | ||
| #738 | Injection Guard | 37 | 86 | 45 | 1k+ | Unsafe printing function | ||
| #739 | Job Manager & Career – Manage job board listings, and recruitments | 37 | 112 | 205 | 2k+ | Missing nonce verification | ||
| #740 | Meks Video Importer | 37 | 62 | 239 | 2k+ | Input is not sanitized | ||
| #741 | Sensei LMS Certificates | 37 | 97 | 362 | 4k+ | Non-prefixed global variable | ||
| #742 | TelSender – Сontact form 7, Events, Wpforms, ninja forms and woocommerce to telegram bot | 37 | 48 | 40 | 6k+ | Unsafe printing function | ||
| #743 | Tracking Code Manager | 37 | 55 | 42 | 90k+ | Output is not escaped | ||
| #744 | WP Plugin Info Card | 37 | 53 | 376 | 500 | Nonce verification recommended | ||
| #745 | ReCaptcha Integration for WordPress | 37 | 60 | 66 | 9k+ | Output is not escaped | ||
| #746 | Special Text Boxes | 37 | 38 | 42 | 2k+ | Direct Query | ||
| #747 | Audio Story Images | 38 | 46 | 44 | 400 | Output is not escaped | ||
| #748 | Clever Mega Menu for Visual Composer | 38 | 500 | 87 | 1k+ | Output is not escaped | ||
| #749 | CRUDLab Disable Comments | 38 | 20 | 54 | 700 | Missing nonce verification | ||
| #750 | Lana Downloads Manager | 38 | 146 | 78 | 3k+ | Unsafe printing function |