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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#51CM Tooltip Glossary276111887k+Output is not escaped
#52Secure Downloads28616406600Output is not escaped
#53LWS Tools3110413410k+Request data is not unslashed
#54System Dashboard3291205900Request data is not unslashed
#55Wonder Slider Lite332731878k+Output is not escaped
#56WP Edit3333713740k+Unsafe printing function
#57CM Search And Replace – Optimize content edits with a powerful search and replace tool342861112k+Output is not escaped
#58EasyIndex34741351k+Missing nonce verification
#59Security Safe34193164700Missing Translators Comment
#60Shift8 CDN348125500Output is not escaped
#61Health Check & Troubleshooting35264238300k+Missing Arg Domain
#62Instapage Plugin35220454k+Output is not escaped
#63WP Server Health Stats3564309k+Output is not escaped
#64WP System Information3523730700Text Domain Mismatch
#65Prime Mover – Backup and Migration36229710k+Request data is not unslashed
#66WP Category Permalink3775312k+Output is not escaped
#67OpenHook39172221k+Unsafe printing function
#68Heroic Favicon Generator4110476k+Output is not escaped
#69Compress, Resize & Lazy Load Images – WPvivid Image Optimization471075810k+Missing direct file access protection
#70Server Info – System Health & Diagnostics Suite5015463k+Input is not sanitized
#71Debug This5243322k+Missing Translators Comment
#72Pantheon Migrations5715261k+Output is not escaped
#73DreamHost Automated Migration62152320k+Output is not escaped
#74Migrate To Liquid Web & Nexcess6215232k+Output is not escaped
#75Pressable Automated Migration6215233k+Output is not escaped
#76Migrate to WordPress.com6215282k+Output is not escaped
#77DataFeedWatch Connector for WooCommerce6416112600Non-prefixed hook name
#78WebDefender Security – Protection & AntiSpam70176611k+wp function not compatible with requires wp
#79Migrate Guru – Site Migration & Cloning8178200k+Database parameter is not escaped
#80BlogVault Backup & Staging82542680k+Missing direct file access protection
#81Cloudways WordPress Migrator826920k+Database parameter is not escaped
#82MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall825626200k+Missing direct file access protection
#83The WP Remote WordPress Plugin82522830k+Missing direct file access protection
#84PHP Info8485600Output is not escaped
#85Cloudways Site Manager9114720k+wp function not compatible with requires wp
#86PHP Server Configuration9821400outdated tested upto header