WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_phpinfo

prevent path disclosure phpinfo

Development or debugging behavior appears in code that may run in production.

medium weight

Why It Shows Up

The scan found logging, debugging, path disclosure, `phpinfo()`, error-reporting changes, or similar development-oriented functions.

Why It Matters

Debug output can leak paths, configuration, request data, stack details, or sensitive runtime information.

How to Fix

  • Remove temporary debugging calls before release.
  • If logging is required, guard it with `WP_DEBUG` or a plugin setting intended for administrators.
  • Never show debug details to unauthenticated visitors or normal front-end users.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1BulletProof Security05,0484,94920k+2026-05-20Output Not Escaped
#2Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20557541100k+2026-05-19Output Not Escaped
#3Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More212,5721,2771m+2026-05-22Output Not Escaped
#4Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+2026-05-13Output Not Escaped
#5WP phpMyAdmin214,5286,43550k+2025-10-17Missing Arg Domain
#6E2Pdf – Export Pdf Tool for WordPress221,07583610k+2026-06-16Unsafe Printing Function
#7InfiniteWP Client222,2861,812200k+2026-02-26Exception Not Escaped
#8NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall221,2652,065100k+2026-06-07Non Prefixed Variable Found
#9Prime Mover – Migrate WordPress Website & Backups221,3261,60010k+2026-06-06Non Prefixed Variable Found
#10Search & Replace Everything – Quick and Easy Way to Find and Replace Text, Links221,0441,79720k+2026-05-27Non Prefixed Variable Found
#11URL Shortify – Simple and Easy URL Shortener221,5202,68910k+2026-06-04Non Prefixed Variable Found
#12ManageWP Worker225075651m+2026-05-11Non Prefixed Class Found
#13WP Umbrella: Update Backup Restore & Monitoring2291590570k+2026-06-10Exception Not Escaped
#14YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports2265443510k+2026-06-16Exception Not Escaped
#15Ecwid by Lightspeed Ecommerce Shopping Cart2333930720k+2026-02-13missing direct file access protection
#16Unlimited Elements For Elementor247092,092300k+2026-05-14Non Prefixed Variable Found
#17WPeMatico RSS Feed Fetcher241,37658210k+2026-06-15Output Not Escaped
#18Beaver Builder Page Builder – Drag and Drop Website Builder254,4631,819100k+2026-06-08Text Domain Mismatch
#19Online Scheduling and Appointment Booking System – Bookly253,52887060k+2026-06-04Text Domain Mismatch
#20Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel258761,798100k+2026-05-21Non Prefixed Variable Found
#21Index WP MySQL For Speed2525025550k+2026-05-07Output Not Escaped
#22Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin2596073860k+2026-06-16Text Domain Mismatch
#23Kadence Central – Site Management, Backups, Security, and Reporting2646221330k+2026-06-11Text Domain Mismatch
#24LWS Tools3110413420k+2026-06-15Missing Unslash
#25WP Edit3333713740k+2018-10-15Unsafe Printing Function
#26Health Check & Troubleshooting35264238300k+2024-07-25Missing Arg Domain
#27WP-ServerInfo381625510k+2023-08-09Output Not Escaped
#28Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+2026-06-01missing direct file access protection
#29Cloudways WordPress Migrator62152520k+2026-04-20Output Not Escaped
#30DreamHost Automated Migration62152320k+2026-04-20Output Not Escaped
#31Migrate Guru – Site Migration & Cloning8178200k+2026-04-20Unescaped DBParameter
#32BlogVault Backup & Staging82532280k+2026-06-06missing direct file access protection
#33MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall825522200k+2026-06-06missing direct file access protection
#34The WP Remote WordPress Plugin82512430k+2026-06-06missing direct file access protection
#35Cloudways Site Manager9114720k+2026-05-25wp function not compatible with requires wp