Generic.PHP.DiscourageGoto.Found

Goto statement found

The plugin uses a PHP or WordPress pattern that coding standards discourage.

medium weight

Why It Shows Up

Plugin Check found a discouraged function, forbidden function, goto, backtick operator, or similar construct.

Why It Matters

Discouraged patterns are often harder to review, less portable across hosts, or easier to misuse securely.

How to Fix

  • Identify why the construct is used and whether WordPress provides a safer API.
  • Replace shell execution, dynamic execution, or broad forbidden functions with constrained WordPress APIs.
  • If a third-party library triggers the warning, isolate and document it.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1Shopping Cart & eCommerce Store185,45917,2984k+Non-prefixed global variable
#2WP Directory Kit182,1192,6172k+Non-prefixed global variable
#3Packeta218023338k+Exception output is not escaped
#4NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall221,2652,065100k+Non-prefixed global variable
#5NinjaScanner – Virus & Malware scan2259655130k+Non-prefixed global variable
#6oik224891802k+Non Singular String Literal Domain
#7YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports2265443510k+Exception output is not escaped
#8Next Active Directory Integration236832842k+Exception output is not escaped
#9Participants Database249518947k+SQL query is not prepared
#10Quick Event Manager241523881k+Non-prefixed function
#11Simple Membership242,3731,78940k+Unsafe printing function
#12Social Media Auto Publish241,4687136k+Unsafe printing function
#13ATUM WooCommerce Inventory Management and Stock Tracking252,6381,30410k+Non Singular String Literal Domain
#14WordPress Importer252381102m+Output is not escaped
#15WP TripAdvisor Review Slider259582,0588k+Non-prefixed global variable
#16Hester Core2725310310k+Output is not escaped
#17WPBase Cache271891132k+Text Domain Mismatch
#18Redis Object Cache28151103400k+Exception output is not escaped
#19WP ADA Compliance Check Basic287851773k+Text Domain Mismatch
#20SMTP for Amazon SES – YaySMTP301971223k+Exception output is not escaped
#21The SEO Framework – Fast, Automated, Effortless.31363609200k+Non-prefixed global variable
#22PayPal Zettle POS for WooCommerce31302444k+Exception output is not escaped
#23Seriously Simple Stats34991265k+Output is not escaped
#24Admin Search4031471k+Output is not escaped
#25Weight Based Shipping for WooCommerce53484160k+Missing direct file access protection