WordPress.WP.AlternativeFunctions.file_system_operations_fclose
file system operations fclose
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 | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1 | BulletProof Security | 0 | 5,048 | 4,949 | 20k+ | Output Not Escaped | |
| #2 | Intercom | 0 | 60 | 71 | 6k+ | Non Prefixed Function Found | |
| #3 | Plugin Check (PCP) | 0 | 128 | 132 | 10k+ | Exception Not Escaped | |
| #4 | Themify Builder | 9 | 5,195 | 2,096 | 5k+ | Text Domain Mismatch | |
| #5 | JetBackup – Backup, Restore & Migrate | 10 | 1,559 | 145 | 100k+ | Exception Not Escaped | |
| #6 | AnyComment | 17 | 445 | 449 | 5k+ | Output Not Escaped | |
| #7 | wpForo Forum | 17 | 4,033 | 2,922 | 20k+ | Unsafe Printing Function | |
| #8 | WPtouch – Make your WordPress Website Mobile-Friendly | 17 | 1,466 | 325 | 50k+ | Text Domain Mismatch | |
| #9 | Podlove Podcast Publisher | 18 | 2,326 | 1,429 | 3k+ | Output Not Escaped | |
| #10 | Property Hive | 18 | 1,957 | 6,027 | 3k+ | Missing | |
| #11 | Shopping Cart & eCommerce Store | 18 | 5,459 | 17,298 | 4k+ | Non Prefixed Variable Found | |
| #12 | WP Import Export Lite | 18 | 738 | 979 | 40k+ | Non Prefixed Variable Found | |
| #13 | Download Monitor | 19 | 425 | 1,364 | 80k+ | Non Prefixed Hookname Found | |
| #14 | Event Organiser | 19 | 1,106 | 544 | 20k+ | Text Domain Mismatch | |
| #15 | Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution | 19 | 1,218 | 901 | 100k+ | Exception Not Escaped | |
| #16 | Matomo Analytics – Powerful, Privacy-First Insights for WordPress | 19 | 1,909 | 878 | 100k+ | Exception Not Escaped | |
| #17 | Search Atlas SEO – Premier SEO Plugin for One-Click WP Publishing & Integrated AI Optimization | 19 | 1,295 | 2,679 | 9k+ | Output Not Escaped | |
| #18 | Razorpay Payment Button Plugin | 19 | 486 | 98 | 2k+ | Exception Not Escaped | |
| #19 | Realtyna Organic IDX plugin + WPL Real Estate | 19 | 947 | 3,653 | 2k+ | Non Prefixed Variable Found | |
| #20 | Really Simple Security – Simple and Performant Security (formerly Really Simple SSL) | 19 | 541 | 385 | 3m+ | Missing Translators Comment | |
| #21 | Membership Plugin – Kadence Memberships | 19 | 5,082 | 2,982 | 9k+ | Text Domain Mismatch | |
| #22 | SendPress Newsletters | 19 | 2,293 | 1,422 | 2k+ | Output Not Escaped | |
| #23 | WP Email Template | 19 | 342 | 350 | 2k+ | Exception Not Escaped | |
| #24 | BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot | 20 | 508 | 1,406 | 30k+ | Non Prefixed Variable Found | |
| #25 | Brizy – Page Builder | 20 | 589 | 720 | 70k+ | Output Not Escaped | |
| #26 | GiveWP – Donation Plugin and Fundraising Platform | 20 | 3,435 | 3,580 | 100k+ | Output Not Escaped | |
| #27 | Link Library | 20 | 1,941 | 1,397 | 10k+ | Unsafe Printing Function | |
| #28 | Microthemer Lite – Visual Editor to Customize CSS | 20 | 1,004 | 1,699 | 10k+ | Non Prefixed Variable Found | |
| #29 | Pix por Piggly (para Woocommerce) | 20 | 547 | 195 | 4k+ | Exception Not Escaped | |
| #30 | Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score | 20 | 147 | 231 | 3k+ | Exception Not Escaped | |
| #31 | Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF | 20 | 557 | 541 | 100k+ | Output Not Escaped | |
| #32 | SpeakOut! Email Petitions | 20 | 850 | 994 | 3k+ | Missing | |
| #33 | Razorpay for WooCommerce | 20 | 974 | 855 | 100k+ | Non Prefixed Function Found | |
| #34 | WPJAM Basic | 20 | 328 | 356 | 4k+ | Output Not Escaped | |
| #35 | Backup Migration | 21 | 981 | 1,093 | 80k+ | Non Prefixed Variable Found | |
| #36 | rtMedia for WordPress, BuddyPress and bbPress | 21 | 363 | 633 | 8k+ | Non Prefixed Constant Found | |
| #37 | CallTrackingMetrics | 21 | 923 | 286 | 3k+ | Unsafe Printing Function | |
| #38 | Captcha Them All | 21 | 300 | 323 | 6k+ | Output Not Escaped | |
| #39 | CartFlows – Funnel Builder & Checkout Plugin for WooCommerce | 21 | 461 | 614 | 200k+ | Text Domain Mismatch | |
| #40 | Smart Grid-Layout Design for Contact Form 7 | 21 | 1,126 | 734 | 10k+ | Output Not Escaped | |
| #41 | Comet Cache | 21 | 857 | 245 | 20k+ | Output Not Escaped | |
| #42 | Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More | 21 | 2,572 | 1,277 | 1m+ | Output Not Escaped | |
| #43 | Envo Extra | 21 | 878 | 600 | 20k+ | Text Domain Mismatch | |
| #44 | EventPrime – Events Calendar, Bookings and Tickets | 21 | 872 | 4,297 | 7k+ | Non Prefixed Variable Found | |
| #45 | Feeds for YouTube (YouTube video, channel, and gallery plugin) | 21 | 558 | 978 | 100k+ | Output Not Escaped | |
| #46 | FileOrganizer – WordPress File Manager | 21 | 536 | 241 | 200k+ | unlink unlink | |
| #47 | Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More | 21 | 52 | 1,959 | 300k+ | Non Prefixed Variable Found | |
| #48 | Campaign Monitor for WordPress | 21 | 386 | 461 | 2k+ | Non Prefixed Variable Found | |
| #49 | JCH Optimize | 21 | 953 | 133 | 4k+ | Output Not Escaped | |
| #50 | MailChimp Subscribe Form, Optin Builder, PopUp Builder, Form Builder | 21 | 1,133 | 3,011 | 2k+ | Non Prefixed Variable Found |