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,4222k+Output is not escaped
#3SpeakOut! Email Petitions208509943k+Missing nonce verification
#4WPJAM Basic203283564k+Output is not escaped
#5Store Locator WordPress212,3721,57210k+Text Domain Mismatch
#6Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output is not escaped
#7Better WordPress Minify224124848k+Non Singular String Literal Domain
#8Directorist: AI-Powered Business Directory, Listings & Classified Ads224432,12920k+Non-prefixed global variable
#9Advanced AJAX Product Filters222,6831,20550k+Text Domain Mismatch
#10Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#11Front End PM239782,2645k+Non-prefixed global variable
#12MediaPress239045834k+Output is not escaped
#13Issues and Series for Newspapers, Magazines, Publishers, Writers233467102k+Nonce verification recommended
#14The Events Calendar233,5123,848700k+Text Domain Mismatch
#15All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#16Event Tickets and Registration243,4154,21090k+Non-prefixed global variable
#17Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#18WPeMatico RSS Feed Fetcher241,37658210k+Output is not escaped
#19BuddyPress Docs252844217k+Nonce verification recommended
#20Coupon Creator256984121k+Output is not escaped
#21YARPP – Yet Another Related Posts Plugin27191331100k+Non-prefixed global variable
#22BuddyPress for LearnDash321902841k+Output is not escaped
#23Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3234825850k+Output is not escaped
#24PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements331401823k+Missing Translators Comment
#25WP-Paginate35375520k+Input is not validated
#26Custom Post Template37483010k+Output is not escaped
#27FakerPress536615210k+Non-prefixed global variable