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
#351JetHost Total Care – Security & Enhancements451085800Direct Query
#352Updater by BestWebSoft464942192k+Text Domain Mismatch
#353Tabby Checkout4733464k+Non-prefixed class
#354iControlWP4745591k+Missing direct file access protection
#355Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+Missing direct file access protection
#356SiteEase Bulk Delete Manager495072900Direct Query
#357Analytics by BestWebSoft – Google Analytics Dashboard and Statistic Plugin for WordPress494781761k+Text Domain Mismatch
#358Drag and Drop Multiple File Upload for WooCommerce49114295k+Text Domain Mismatch
#359WP Smart Import : Import any XML File to WordPress49283021k+Non-prefixed global variable
#360BestWebSoft's Twitter50477174900Text Domain Mismatch
#361Veeqo for WooCommerce503017700Missing direct file access protection
#362Quotes and Tips by BestWebSoft514851901k+Text Domain Mismatch
#363The Cache Purger5116161k+Non Singular String Literal Text
#364TNC Toolbox: Web Performance5220251k+Output is not escaped
#365WPVibe – MCP Server for WordPress. Connect Claude, ChatGPT, Gemini & Cursor5219583k+Interpolated SQL is not prepared
#366Price Based on Country for WooCommerce524312620k+Non-prefixed hook name
#367pretix widget532539400Non-prefixed global variable
#368Royal WordPress Backup, Restore & Migration Plugin – Backup WordPress Sites Safely53349020k+Database parameter is not escaped
#369AI Agent by SiteGround542861m+Exception output is not escaped
#370BestWebSoft’s Pinterest57490176500Text Domain Mismatch
#371Easy GDPR Consent Forms – MailChimp577222500Text Domain Mismatch
#372Error Log Viewer by BestWebSoft584331726k+Text Domain Mismatch
#373Surge6046474k+Non-prefixed global variable
#374Falcon – WordPress Optimizations & Tweaks6247662k+Short PHP open tag found
#375Embed Google Fonts642875k+Output is not escaped
#376AC Advanced Flamingo Settings66632700Nonce verification recommended
#377Easy PHP Settings6634481k+Missing Translators Comment
#378Ghost702512600Output is not escaped
#379WPThumb70309800Output is not escaped
#380Nginx Helper714760200k+Non-prefixed global variable
#381Multifile Upload Field for Contact Form 7734175k+Text Domain Mismatch
#382WPWaterMark 轻水印插件732417900Request data is not unslashed
#383Custom Icons for Elementor and WPBakery74353810k+Non-prefixed global variable
#384FormGent – Next-Gen AI Form Builder for WordPress with Multi-Step, Quizzes, Payments & More76173331k+Non-prefixed global variable
#385SureRank SEO – Smart Assistant with Meta Tags, Social Preview, XML Sitemap, and Schema775895300k+Non-prefixed hook name
#386AIKO – AI Developer Lite791076k+error log error log
#387Physical Custom Upload Folder for Real Media Library8149900Nonce verification recommended
#388Cachify849369k+Non-prefixed global variable
#389Real Thumbnail Generator: Efficient regeneration of thumbnails in all sizes855581k+Non-prefixed constant
#390Transferito: WP Migration8816115500Non-prefixed global variable
#391Post Export Import with Media9034411k+Missing Translators Comment
#392MultiManager WP – Manage All Your WordPress Sites Easily9128111k+Missing Arg Domain
#393Snow Monkey Forms91364130k+Non-prefixed global variable
#394Manage – Centralized site maintenance and monitoring9554770k+Direct Query