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 |
|---|---|---|---|---|---|---|---|---|
| #351 | WP Admin Audit | 24 | 1,051 | 781 | 1k+ | error log print r | ||
| #352 | WP Discourse | 24 | 103 | 114 | 1k+ | Nonce verification recommended | ||
| #353 | Iptanus File Upload | 24 | 509 | 1,325 | 10k+ | Non-prefixed function | ||
| #354 | WP Hotel Booking | 24 | 901 | 1,532 | 7k+ | Non-prefixed global variable | ||
| #355 | WP Job Portal – AI-Powered Recruitment System for Company or Job Board website | 24 | 78 | 1,158 | 8k+ | Missing Version | ||
| #356 | WP-Members Membership Plugin | 24 | 669 | 382 | 50k+ | Output is not escaped | ||
| #357 | WP RSS Aggregator – RSS Import, Feed to Post, Autoblogging, AI Content | 24 | 1,777 | 394 | 40k+ | Text Domain Mismatch | ||
| #358 | Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress | 24 | 2,581 | 2,109 | 100k+ | Output is not escaped | ||
| #359 | WP User Manager – User Profile Builder & Membership | 24 | 787 | 539 | 10k+ | Exception output is not escaped | ||
| #360 | WP Voting Contest Lite | 24 | 259 | 258 | 400 | Text Domain Mismatch | ||
| #361 | WPAdverts – Classifieds Plugin | 24 | 1,308 | 496 | 4k+ | Output is not escaped | ||
| #362 | WPeMatico RSS Feed Fetcher | 24 | 1,378 | 587 | 10k+ | Output is not escaped | ||
| #363 | WPIDE – File Manager & Code Editor | 24 | 612 | 1,399 | 40k+ | Non-prefixed global variable | ||
| #364 | WPSpeed – WordPress Speed, Cache & Performance Optimization (Core Web Vitals, PageSpeed 100) | 24 | 482 | 189 | 2k+ | Output is not escaped | ||
| #365 | 3DPrint Lite | 25 | 175 | 1,029 | 700 | Non-prefixed global variable | ||
| #366 | Dynamic Pricing With Discount Rules for WooCommerce | 25 | 165 | 205 | 5k+ | Non-prefixed global variable | ||
| #367 | Advanced WordPress Reset – Debug, Recover & Reset WP | 25 | 475 | 464 | 20k+ | Output is not escaped | ||
| #368 | AliExpress Dropshipping Plugin for WooCommerce Stores | 25 | 555 | 734 | 4k+ | Text Domain Mismatch | ||
| #369 | All 404 Redirect to Homepage | 25 | 140 | 301 | 200k+ | date date | ||
| #370 | Appointment Hour Booking – Booking Calendar | 25 | 262 | 1,253 | 10k+ | Non-prefixed global variable | ||
| #371 | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid | 25 | 243 | 854 | 50k+ | Non-prefixed global variable | ||
| #372 | Booking Package | 25 | 1,697 | 3,977 | 10k+ | Missing nonce verification | ||
| #373 | Breeze Cache | 25 | 218 | 800 | 400k+ | Non-prefixed global variable | ||
| #374 | CheckoutWC Lite – Conversion optimized WooCommerce checkout | 25 | 1,416 | 854 | 3k+ | Text Domain Mismatch | ||
| #375 | CheckView – Form & Checkout Testing | 25 | 66 | 337 | 1k+ | Direct Query | ||
| #376 | Colissimo shipping methods for WooCommerce | 25 | 1,755 | 557 | 10k+ | Text Domain Mismatch | ||
| #377 | Disable Comments & Delete All Comments | 25 | 503 | 185 | 9k+ | Output is not escaped | ||
| #378 | Contact Form to DB by BestWebSoft – Messages Database Plugin For WordPress | 25 | 498 | 355 | 1k+ | Text Domain Mismatch | ||
| #379 | Contact Form Email | 25 | 409 | 898 | 9k+ | Non-prefixed global variable | ||
| #380 | Smash Balloon Social Post Feed – Simple Social Feeds for WordPress | 25 | 554 | 982 | 200k+ | Output is not escaped | ||
| #381 | DecaLog | 25 | 943 | 236 | 1k+ | Exception output is not escaped | ||
| #382 | Disable Admin Notices – Hide Dashboard Notifications | 25 | 465 | 195 | 100k+ | Output is not escaped | ||
| #383 | Docket Cache – Object Cache Accelerator | 25 | 333 | 481 | 20k+ | Output is not escaped | ||
| #384 | WEB-Translation – eTranslation Multilingual | 25 | 217 | 1,057 | 400 | Non-prefixed function | ||
| #385 | Event Genius – Event Management, Events Calendar, Registration, and RSVP | 25 | 181 | 1,579 | 500 | Non-prefixed global variable | ||
| #386 | Events Made Easy | 25 | 521 | 6,324 | 1k+ | Non-prefixed function | ||
| #387 | Form Vibes – Save Contact Form 7 & Elementor Form Entries to Database | 25 | 716 | 1,509 | 10k+ | Non-prefixed global variable | ||
| #388 | FunnelKit – Funnel Builder for WooCommerce Checkout | 25 | 3,164 | 2,624 | 30k+ | Text Domain Mismatch | ||
| #389 | Gallery Images Ape | 25 | 588 | 341 | 1k+ | Output is not escaped | ||
| #390 | GD Rating System | 25 | 1,511 | 1,043 | 1k+ | Output is not escaped | ||
| #391 | GD Security Headers | 25 | 407 | 521 | 1k+ | Output is not escaped | ||
| #392 | WPBruiser {no- Captcha anti-Spam} | 25 | 646 | 259 | 10k+ | Non Singular String Literal Domain | ||
| #393 | Site Kit by Google – Analytics, Search Console, AdSense, Speed | 25 | 1,304 | 242 | 5m+ | Missing direct file access protection | ||
| #394 | Sitemap by BestWebSoft – WordPress XML Site Map Page Generator Plugin | 25 | 608 | 207 | 20k+ | Text Domain Mismatch | ||
| #395 | Independent Analytics – WordPress Analytics Plugin | 25 | 1,148 | 2,293 | 100k+ | Non-prefixed global variable | ||
| #396 | Smash Balloon Social Photo Feed – Easy Social Feeds Plugin | 25 | 449 | 1,300 | 1m+ | Interpolated SQL is not prepared | ||
| #397 | IP Location Block | 25 | 521 | 624 | 10k+ | Output is not escaped | ||
| #398 | JobWP – Job Board, Job Listing, Career Page and Recruitment Plugin | 25 | 1,541 | 1,578 | 1k+ | Non-prefixed global variable | ||
| #399 | M Chart | 25 | 558 | 1,465 | 3k+ | Non-prefixed global variable | ||
| #400 | MaxButtons – Create buttons | 25 | 626 | 404 | 70k+ | Output is not escaped |