WordPress.WP.DiscouragedConstants.PLUGINDIRUsageFound

Discouraged WordPress constant usage: PLUGINDIR

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

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1HeadSpace2 SEO229403603k+Text Domain Mismatch
#2FV Player 8243231,3831k+Non-prefixed function
#3WPeMatico RSS Feed Fetcher241,37858710k+Output is not escaped
#4FV Antispam26332239900Output is not escaped
#5Zibal Payment Gateway for Gravity Forms27828248500Text Domain Mismatch
#6Custom Field Template2956853030k+wp function not compatible with requires wp
#7Download Plugin317810260k+Output is not escaped
#8WP125311781843k+Unsafe printing function
#9Freesoul Deactivate Plugins – Disable plugins on individual WordPress pages32557858k+Nonce verification recommended
#10Authors Widget35170191k+Output is not escaped
#11Currency Converter351044400Output is not escaped
#12Peter’s Post Notes362241023k+Output is not escaped
#13WP Flow Plus37175146800Output is not escaped
#14WP PageNavi Style37109118k+Unsafe printing function
#15CF7 to Webhook381027230k+Unsafe printing function
#16Shutter Reloaded38194951k+Text Domain Mismatch
#17Simple Expires383239500Non Singular String Literal Domain
#18WP Reroute Email401411061k+Output is not escaped
#19wp-Monalisa485694700Direct Query
#20Live Chat by Formilla – Real-time Chat & Chatbots Plugin5722132k+Missing Arg Domain
#21Lime Connect (formerly Userlike) – WordPress Live Chat plugin65223900Output is not escaped
#22My-Plugins7224630k+Missing Arg Domain
#23FD Footnotes Plugin772851k+Non Singular String Literal Domain
#24X-Currency – The Ultimate WooCommerce currency switcher for a smoother shopping experience7717771k+Non-prefixed global variable
#25Smartslider83130600Output is not escaped