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
#3WPJAM Basic193253464k+Output is not escaped
#4AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#5SpeakOut! Email Petitions208509942k+Missing nonce verification
#6Store Locator WordPress212,4941,62810k+Text Domain Mismatch
#7BuddyPress WooCommerce My Account Integration. Create WooCommerce Member Pages216681,569800Non-prefixed global variable
#8Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output is not escaped
#9Better WordPress Minify224124847k+Non Singular String Literal Domain
#10Directorist: AI-Powered Business Directory, Listings & Classified Ads225602,20220k+Non-prefixed global variable
#11Advanced AJAX Product Filters222,8401,25250k+Text Domain Mismatch
#12Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#13Coupon Creator236334211k+Output is not escaped
#14Front End PM239782,2644k+Non-prefixed global variable
#15MediaPress239045833k+Output is not escaped
#16Issues and Series for Newspapers, Magazines, Publishers, Writers233467102k+Nonce verification recommended
#17The Events Calendar233,5073,849600k+Text Domain Mismatch
#18All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#19Event Tickets and Registration243,4074,21890k+Non-prefixed global variable
#20Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#21WPeMatico RSS Feed Fetcher241,38758910k+Output is not escaped
#22BuddyPress Docs252844216k+Nonce verification recommended
#23YARPP – Yet Another Related Posts Plugin27191331100k+Non-prefixed global variable
#24Query Wrangler28628229700Output is not escaped
#25Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3135325350k+Text Domain Mismatch
#26BuddyPress for LearnDash321902841k+Output is not escaped
#27PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements331401823k+Missing Translators Comment
#28Issuu PDF Sync3515928900Text Domain Mismatch
#29WP-Paginate35375520k+Input is not validated
#30Custom Post Template37483010k+Output is not escaped
#31FakerPress526615510k+Non-prefixed global variable
#32Post Template701211400Missing nonce verification