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 | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #1001 | PDF Forms Filler for WPForms | 36 | 161 | 54 | 600 | Text Domain Mismatch | ||
| #1002 | Plugins Garbage Collector (Database Cleanup) | 36 | 32 | 51 | 10k+ | Missing nonce verification | ||
| #1003 | Qubely – Advanced Gutenberg Blocks | 36 | 39 | 78 | 8k+ | Request data is not unslashed | ||
| #1004 | Quick 301 Redirects | 36 | 89 | 120 | 5k+ | Non-prefixed global variable | ||
| #1005 | QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly | 36 | 172 | 108 | 8k+ | Non Singular String Literal Domain | ||
| #1006 | Search & Replace | 36 | 50 | 53 | 100k+ | Missing nonce verification | ||
| #1007 | Search Everything | 36 | 165 | 77 | 10k+ | Text Domain Mismatch | ||
| #1008 | Speed Optimizer – The All-In-One Performance-Boosting Plugin | 36 | 45 | 96 | 1m+ | Non-prefixed hook name | ||
| #1009 | Shadowbox JS | 36 | 246 | 14 | 1k+ | Unsafe printing function | ||
| #1010 | SMTP for SendGrid – YaySMTP | 36 | 27 | 96 | 1k+ | Non-prefixed global variable | ||
| #1011 | Sync QCloud COS | 36 | 63 | 109 | 600 | Non-prefixed function | ||
| #1012 | SuperFaktura WooCommerce | 36 | 60 | 115 | 2k+ | Nonce verification recommended | ||
| #1013 | Export Themes | 36 | 122 | 90 | 2k+ | Non-prefixed constant | ||
| #1014 | WP LaTeX | 36 | 103 | 12 | 700 | Output is not escaped | ||
| #1015 | Payment Button for PayPal | 36 | 155 | 86 | 4k+ | Unsafe printing function | ||
| #1016 | WP Hardening (discontinued) | 36 | 230 | 85 | 10k+ | Text Domain Mismatch | ||
| #1017 | WP Stripe Checkout | 36 | 198 | 118 | 1k+ | Unsafe printing function | ||
| #1018 | WP Super Edit | 36 | 35 | 185 | 2k+ | Nonce verification recommended | ||
| #1019 | Analytics Spam Blocker | 37 | 76 | 22 | 800 | Unsafe printing function | ||
| #1020 | Call Now Button – The #1 Click to Call Button for WordPress | 37 | 1,273 | 5 | 200k+ | Exception output is not escaped | ||
| #1021 | Checkout for PayPal | 37 | 134 | 67 | 600 | Unsafe printing function | ||
| #1022 | CookieAdmin – Cookie Consent Banner | 37 | 43 | 86 | 400k+ | Nonce verification recommended | ||
| #1023 | Debug Log Viewer | 37 | 26 | 83 | 1k+ | Missing nonce verification | ||
| #1024 | .htaccess Site Access Control | 37 | 54 | 67 | 800 | Input is not sanitized | ||
| #1025 | Injection Guard | 37 | 86 | 45 | 1k+ | Unsafe printing function | ||
| #1026 | Job Manager & Career – Manage job board listings, and recruitments | 37 | 112 | 205 | 2k+ | Missing nonce verification | ||
| #1027 | Local Time Clock | 37 | 105 | 11 | 1k+ | Output is not escaped | ||
| #1028 | Maintenance Page | 37 | 62 | 33 | 3k+ | Output is not escaped | ||
| #1029 | Meks Video Importer | 37 | 62 | 239 | 2k+ | Input is not sanitized | ||
| #1030 | PNG to JPG | 37 | 130 | 173 | 9k+ | Interpolated SQL is not prepared | ||
| #1031 | Sensei LMS Certificates | 37 | 97 | 362 | 4k+ | Non-prefixed global variable | ||
| #1032 | Spam Destroyer | 37 | 63 | 43 | 6k+ | rand rand | ||
| #1033 | TelSender – Сontact form 7, Events, Wpforms, ninja forms and woocommerce to telegram bot | 37 | 48 | 40 | 6k+ | Unsafe printing function | ||
| #1034 | Tilopay | 37 | 35 | 130 | 1k+ | Nonce verification recommended | ||
| #1035 | Tracking Code Manager | 37 | 55 | 42 | 90k+ | Output is not escaped | ||
| #1036 | Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin | 37 | 99 | 33 | 10k+ | Text Domain Mismatch | ||
| #1037 | Fix Media Library | 37 | 53 | 71 | 1k+ | Output is not escaped | ||
| #1038 | ReCaptcha Integration for WordPress | 37 | 60 | 66 | 9k+ | Output is not escaped | ||
| #1039 | Special Text Boxes | 37 | 38 | 42 | 2k+ | Direct Query | ||
| #1040 | Advanced Media Offloader | 38 | 57 | 93 | 5k+ | error log error log | ||
| #1041 | Anant Sites — Elementor & Gutenberg Readymade Template Library Free & Pro Templates | 38 | 20 | 156 | 1k+ | Non-prefixed global variable | ||
| #1042 | Activity Log – Monitor & Record User Changes | 38 | 81 | 149 | 200k+ | Nonce verification recommended | ||
| #1043 | Audio Story Images | 38 | 46 | 44 | 400 | Output is not escaped | ||
| #1044 | Automatic Post Tagger | 38 | 592 | 307 | 2k+ | Output is not escaped | ||
| #1045 | CRUDLab Disable Comments | 38 | 20 | 54 | 700 | Missing nonce verification | ||
| #1046 | Erident Custom Login and Dashboard | 38 | 122 | 28 | 8k+ | Unsafe printing function | ||
| #1047 | HashThemes Demo Importer | 38 | 71 | 44 | 6k+ | Output is not escaped | ||
| #1048 | Lana Downloads Manager | 38 | 146 | 78 | 3k+ | Unsafe printing function | ||
| #1049 | Contact Form Widget | 38 | 54 | 107 | 1k+ | Request data is not unslashed | ||
| #1050 | OneSignal – Web Push Notifications | 38 | 53 | 64 | 70k+ | Output is not escaped |