WordPress.WP.AlternativeFunctions.file_system_operations_is_writeable
file system operations is writeable
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 |
|---|---|---|---|---|---|---|---|---|
| #101 | WP Stripe Checkout | 36 | 198 | 118 | 1k+ | Unsafe printing function | ||
| #102 | Checkout for PayPal | 37 | 134 | 67 | 600 | Unsafe printing function | ||
| #103 | .htaccess Site Access Control | 37 | 54 | 67 | 800 | Input is not sanitized | ||
| #104 | WP Safe Mode | 38 | 95 | 55 | 2k+ | Output is not escaped | ||
| #105 | htaccess protect | 39 | 28 | 33 | 800 | Input is not validated | ||
| #106 | Multiple Themes | 41 | 112 | 41 | 10k+ | Output is not escaped | ||
| #107 | Custom Admin Page by BestWebSoft – Configurable WordPress Dashboard Pages Plugin | 42 | 472 | 181 | 400 | Text Domain Mismatch | ||
| #108 | Updater by BestWebSoft | 46 | 494 | 219 | 2k+ | Text Domain Mismatch | ||
| #109 | WP Prefix Changer | 47 | 27 | 16 | 900 | Missing Arg Domain | ||
| #110 | Analytics by BestWebSoft – Google Analytics Dashboard and Statistic Plugin for WordPress | 49 | 478 | 176 | 1k+ | Text Domain Mismatch | ||
| #111 | PDF Invoices & Packing Slips for WooCommerce – Challan | 49 | 56 | 151 | 4k+ | Non-prefixed global variable | ||
| #112 | BestWebSoft's Twitter | 50 | 477 | 174 | 900 | Text Domain Mismatch | ||
| #113 | Quotes and Tips by BestWebSoft | 51 | 485 | 190 | 1k+ | Text Domain Mismatch | ||
| #114 | Debug This | 52 | 43 | 32 | 2k+ | Missing Translators Comment | ||
| #115 | BestWebSoft’s Pinterest | 57 | 490 | 176 | 500 | Text Domain Mismatch | ||
| #116 | Error Log Viewer by BestWebSoft | 58 | 433 | 172 | 6k+ | Text Domain Mismatch | ||
| #117 | Easy SSL Plugin for SAKURA Rental Server | 62 | 23 | 17 | 50k+ | Input is not sanitized | ||
| #118 | OptionTree | 93 | 165 | 2 | 50k+ | Text Domain Mismatch |