WordPress.WP.DiscouragedConstants.STYLESHEETPATHUsageFound

Discouraged WordPress constant usage: STYLESHEETPATH

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
#1WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#2SendPress Newsletters192,2931,4221k+Output is not escaped
#3AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#4BuddyPress WooCommerce My Account Integration. Create WooCommerce Member Pages216681,569800Non-prefixed global variable
#5Wordfence Security – Firewall, Malware Scan, and Login Security211,8933,2925m+Output is not escaped
#6Better WordPress Minify224124847k+Non Singular String Literal Domain
#7Directorist: AI-Powered Business Directory, Listings & Classified Ads224862,32720k+Non-prefixed global variable
#8SpeakOut! Email Petitions228499982k+Missing nonce verification
#9WPJAM Basic222783434k+Output is not escaped
#10Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#11Coupon Creator236024241k+Output is not escaped
#12MediaPress239045833k+Output is not escaped
#13The Events Calendar233,4783,846600k+Text Domain Mismatch
#14Advanced AJAX Product Filters232,8501,25450k+Text Domain Mismatch
#15All-In-One Security (AIOS) – Security and Firewall245551,2261m+Non-prefixed global variable
#16Event Tickets and Registration243,3684,20690k+Non-prefixed global variable
#17Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2433887220k+Nonce verification recommended
#18WPeMatico RSS Feed Fetcher241,37059910k+Output is not escaped
#19Agile Store Locator253,3481,83410k+Text Domain Mismatch
#20BuddyPress Docs252844216k+Nonce verification recommended
#21Front End PM259712,2644k+Non-prefixed global variable
#22YARPP – Yet Another Related Posts Plugin27191331100k+Non-prefixed global variable
#23Query Wrangler28626232700Output is not escaped
#24Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3035326350k+Text Domain Mismatch
#25BuddyPress for LearnDash321902841k+Output is not escaped
#26PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements341411823k+Missing Translators Comment
#27Issuu PDF Sync3515928800Text Domain Mismatch
#28WP-Paginate35375520k+Input is not validated
#29Custom Post Template37483010k+Output is not escaped
#30FakerPress526615510k+Non-prefixed global variable
#31Post Template701211400Missing nonce verification