WordPress.WP.AlternativeFunctions.file_system_operations_rmdir

file system operations rmdir

The plugin performs filesystem work with raw PHP functions where WordPress expects safer filesystem handling.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Intercom060716k+Non-prefixed function
#3Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#4Plugin Check (PCP)012814010k+Non-prefixed global variable
#5Themify Builder95,3342,1715k+Text Domain Mismatch
#6JetBackup – Backup, Restore & Migrate101,565156200k+Exception output is not escaped
#7404 Solution155711,50010k+Non-prefixed class
#8AnyComment174454495k+Output is not escaped
#9Shopping Cart & eCommerce Store178,03817,4643k+Non-prefixed global variable
#10wpForo Forum174,3063,02620k+Unsafe printing function
#11WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#12Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution191,227892100k+Exception output is not escaped
#13Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#14Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,900877100k+Exception output is not escaped
#15Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195313743m+Missing Translators Comment
#16WP Import Export Lite1973797940k+Non-prefixed global variable
#17Brizy – Page Builder2058572670k+Output is not escaped
#18MBE eShip205277401k+Non-prefixed global variable
#19Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#20Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#21Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#22Razorpay for WooCommerce20975859100k+Non-prefixed function
#23WP Compress – Instant Performance & Speed Optimization204,0883,51910k+Non Singular String Literal Domain
#24Backup Migration219991,08180k+Non-prefixed global variable
#25Kadence Security – Password, Two Factor Authentication, and Brute Force Protection211,060957700k+Missing Translators Comment
#26Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6222,04010k+Direct Query
#27Comet Cache2185724520k+Output is not escaped
#28Free Downloads WooCommerce214303594k+Output is not escaped
#29Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+Output is not escaped
#30FileOrganizer – WordPress File Manager21536241200k+unlink unlink
#31Filter Everything — WordPress & WooCommerce Filters2163494350k+Non-prefixed global variable
#32JCH Optimize212,2922774k+Output is not escaped
#33Mergado Pack212,323588700Output is not escaped
#34Modular DS: Monitor, update, and backup multiple websites211918240k+Exception output is not escaped
#35Royal Addons for Elementor – Addons and Templates Kit for Elementor2112,9912,414600k+Text Domain Mismatch
#36Seraphinite Accelerator2159225850k+Output is not escaped
#37Smart Forms – when you need more than just a contact form217765745k+Output is not escaped
#38WebP Express21160427300k+Non-prefixed global variable
#39Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools217883,39730k+Non-prefixed global variable
#40Wordfence Security – Firewall, Malware Scan, and Login Security211,8183,2365m+Output is not escaped
#41WP-Lister Lite for eBay216,7015,1322k+Output is not escaped
#42WP phpMyAdmin214,5286,43540k+Missing Arg Domain
#43Ajax Load More – Infinite Scroll, Load More, & Lazy Load2264159230k+Unsafe printing function
#44Backup Bolt225801,313800Non-prefixed global variable
#45Borderless – Addons and Templates for Elementor224381,3885k+Non-prefixed global variable
#46Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms2249329510k+Text Domain Mismatch
#47Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer222,8541,26950k+Text Domain Mismatch
#48Code Profiler – WordPress Performance Profiling and Debugging Made Easy222654008k+Non-prefixed global variable
#49Accept PayPal Payments using Contact Form 722359127600Text Domain Mismatch
#50Directorist: AI-Powered Business Directory, Listings & Classified Ads225602,20220k+Non-prefixed global variable