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
#51Directorist: AI-Powered Business Directory, Listings & Classified Ads225492,17520k+Non-prefixed global variable
#52Download Manager222,5131,462100k+Output is not escaped
#53E2Pdf – Export Pdf Tool for WordPress221,07583610k+Unsafe printing function
#54File Manager Pro – Filester22565391100k+Request data is not unslashed
#55Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder22407236700k+Text Domain Mismatch
#56Insert or Embed Articulate Content into WordPress226591,4372k+Non-prefixed global variable
#57InfiniteWP Client222,2861,812200k+Exception output is not escaped
#58JCH Optimize221,1451364k+Output is not escaped
#59NinjaScanner – Virus & Malware scan2259655130k+Non-prefixed global variable
#60Packeta228013338k+Exception output is not escaped
#61PDF Builder for WPForms22321266900SQL query is not prepared
#62Smart Popup by Supsystic223,17250310k+Non Singular String Literal Domain
#63Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App221,5812,326300k+Non-prefixed global variable
#64Prime Mover – Migrate WordPress Website & Backups221,3261,60010k+Non-prefixed global variable
#65Product Catalog Feed by PixelYourSite225813578k+Output is not escaped
#66PageSpeed Ninja – Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP229844075k+Unsafe printing function
#67Seraphinite Accelerator2259425550k+Output is not escaped
#68ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF221,044800300k+Non-prefixed global variable
#69SSL Zen — SSL Certificate Installer & HTTPS Redirects227511,60510k+Non-prefixed global variable
#70Swift Performance Lite222,3461,3256k+Text Domain Mismatch
#71Theme Editor2279868550k+Output is not escaped
#72Unlimited Elements Blocks Library227081,822400Non-prefixed global variable
#73RapidLoad AI – Optimize Web Vitals Automatically2281840700Nonce verification recommended
#74WooCommerce221,3596,1727m+Non-prefixed global variable
#75ManageWP Worker225075651m+Non-prefixed class
#76Asset CleanUp: Page Speed Booster222,0302,485100k+Non-prefixed global variable
#77File Manager227405201m+Unsafe printing function
#78WP Umbrella: Update Backup Restore & Monitoring2292191970k+Exception output is not escaped
#79WP-WebAuthn229573962k+Exception output is not escaped
#80Advanced Form Integration — Connect Forms to 200+ Apps235,7834,68710k+wp function not compatible with requires wp
#81Affiliate Super Assistent231,2802671k+Text Domain Mismatch
#82Autoptimize23288191800k+Output is not escaped
#83Kadence Security – Password, Two Factor Authentication, and Brute Force Protection231,053967700k+Missing Translators Comment
#84BuddyPress235849,012100k+Non-prefixed function
#85Business Directory Plugin – Easy Listing Directories for WordPress236111,06310k+Non-prefixed global variable
#86CLUEVO LMS, E-Learning Platform231,8431,176400Text Domain Mismatch
#87Content Egg – Affiliate Product Importer & Price Comparison231,2451,27510k+Non-prefixed global variable
#88Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe239,31526,6441k+Non-prefixed global variable
#89DK PDF – WordPress PDF Generator237443353k+Exception output is not escaped
#90Ezoic2343251610k+Output is not escaped
#91Fastcache by Host.it231,327203800Text Domain Mismatch
#92Front End PM239782,2645k+Non-prefixed global variable
#93Gmedia Photo Gallery233501,1217k+Non-prefixed global variable
#94Groovy Menu Plugin (Free)231,7292834k+Text Domain Mismatch
#95Interactive Content – H5P2356538040k+Non Singular String Literal Domain
#96Masteriyo LMS – LMS Course Builder, Quizzes & Certificates231902,1225k+Non-prefixed global variable
#97Master Slider – Responsive Touch Slider2380040860k+Output is not escaped
#98Media Library Assistant231,1313,75970k+Nonce verification recommended
#99MediaPress239045834k+Output is not escaped
#100MultiParcels Shipping For WooCommerce231963624k+Mixed line endings