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 |
|---|---|---|---|---|---|---|---|
| #751 | Activity Log – Monitor & Record User Changes | 38 | 81 | 149 | 200k+ | Nonce verification recommended | |
| #752 | Automatic Post Tagger | 38 | 592 | 307 | 2k+ | Output is not escaped | |
| #753 | Erident Custom Login and Dashboard | 38 | 122 | 28 | 8k+ | Unsafe printing function | |
| #754 | HashThemes Demo Importer | 38 | 71 | 44 | 6k+ | Output is not escaped | |
| #755 | Lana Downloads Manager | 38 | 146 | 78 | 3k+ | Unsafe printing function | |
| #756 | OneSignal – Web Push Notifications | 38 | 53 | 64 | 70k+ | Output is not escaped | |
| #757 | Quick Download Button | 38 | 34 | 123 | 2k+ | Non-prefixed global variable | |
| #758 | Simple JWT Login – Allows you to use JWT on REST endpoints. | 38 | 712 | 95 | 4k+ | Output is not escaped | |
| #759 | Simple Keyword to Link | 38 | 90 | 49 | 3k+ | Non Singular String Literal Domain | |
| #760 | Smart Cookie Kit | 38 | 263 | 81 | 3k+ | Output is not escaped | |
| #761 | Sync Post With Other Site | 38 | 179 | 24 | 3k+ | Non Singular String Literal Domain | |
| #762 | TinyPNG – JPEG, PNG & WebP image compression | 38 | 196 | 141 | 100k+ | Output is not escaped | |
| #763 | Use Any Font | Custom Font Uploader | 38 | 37 | 53 | 200k+ | Request data is not unslashed | |
| #764 | WP Maintenance Mode & Site Under Construction | 38 | 72 | 57 | 3k+ | Output is not escaped | |
| #765 | WP-ServerInfo | 38 | 162 | 55 | 10k+ | Output is not escaped | |
| #766 | Australia Post WooCommerce Extension | 39 | 99 | 12 | 3k+ | Text Domain Mismatch | |
| #767 | Blackhole for Bad Bots | 39 | 123 | 69 | 30k+ | Output is not escaped | |
| #768 | Debug Log Viewer | 39 | 24 | 95 | 1k+ | Non-prefixed global variable | |
| #769 | Export All URLs | 39 | 151 | 45 | 50k+ | Non Singular String Literal Domain | |
| #770 | GS Only PDF Preview | 39 | 46 | 36 | 1k+ | Output is not escaped | |
| #771 | Kikote – Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce | 39 | 76 | 64 | 1k+ | Missing Translators Comment | |
| #772 | Movable Type and TypePad Importer | 39 | 42 | 25 | 20k+ | Output is not escaped | |
| #773 | NextGEN Download Gallery | 39 | 57 | 21 | 2k+ | Short PHP open tag found | |
| #774 | Purge Varnish Cache | 39 | 113 | 151 | 1k+ | Non-prefixed global variable | |
| #775 | TinyMCE Custom Styles | 39 | 297 | 76 | 7k+ | Non Singular String Literal Domain | |
| #776 | Virusdie | One-click website security | 39 | 149 | 66 | 2k+ | Output is not escaped | |
| #777 | Website LLMs.txt | 39 | 13 | 145 | 40k+ | Non-prefixed global variable | |
| #778 | Advanced Country Blocker | 40 | 23 | 77 | 2k+ | Exception output is not escaped | |
| #779 | Advanced IP Blocker | 40 | 94 | 44 | 2k+ | Exception output is not escaped | |
| #780 | All-in-One WP Migration and Backup | 40 | 28 | 61 | 5m+ | Missing nonce verification | |
| #781 | Bangladeshi Payment Gateways – Make Payment Using QR Code | 40 | 40 | 36 | 5k+ | Output is not escaped | |
| #782 | Broken Link Notifier | 40 | 11 | 193 | 1k+ | Non-prefixed global variable | |
| #783 | Database Addon for Contact Form 7 – CFDB7 | 40 | 35 | 56 | 600k+ | Nonce verification recommended | |
| #784 | Export Media URLs | 40 | 71 | 35 | 7k+ | Output is not escaped | |
| #785 | Far Future Expiry Header | 40 | 25 | 36 | 7k+ | Request data is not unslashed | |
| #786 | Product Enquiry for WooCommerce | 40 | 57 | 41 | 3k+ | Output is not escaped | |
| #787 | Where Did You Hear About Us Checkout Field for WooCommerce | 40 | 57 | 66 | 1k+ | Output is not escaped | |
| #788 | Sentry for WordPress | 40 | 80 | 40 | 10k+ | Text Domain Mismatch | |
| #789 | Heroic Favicon Generator | 41 | 104 | 7 | 6k+ | Output is not escaped | |
| #790 | Multiple Domain | 41 | 42 | 17 | 10k+ | Output is not escaped | |
| #791 | Spam Protect for Contact Form 7 | 41 | 16 | 61 | 10k+ | Request data is not unslashed | |
| #792 | WP Crontrol | 41 | 20 | 91 | 300k+ | Nonce verification recommended | |
| #793 | WP Media folders | 41 | 19 | 74 | 3k+ | Direct Query | |
| #794 | Asesor de Cookies RGPD para normativa europea | 42 | 27 | 32 | 20k+ | Missing nonce verification | |
| #795 | 多合一搜索自动推送管理插件-支持Baidu/Google/Bing/IndexNow/Yandex/头条 | 42 | 17 | 38 | 2k+ | Input is not sanitized | |
| #796 | Gelato Integration for WooCommerce | 42 | 36 | 32 | 5k+ | Output is not escaped | |
| #797 | WP Post Redirect | 42 | 29 | 17 | 3k+ | Unsafe printing function | |
| #798 | WP QuickLaTeX | 42 | 41 | 60 | 5k+ | Non-prefixed global variable | |
| #799 | WP SmartCrop | 43 | 43 | 12 | 4k+ | Output is not escaped | |
| #800 | SmartVideo – Video Player and CDN | 44 | 295 | 44 | 1k+ | Text Domain Mismatch |