WordPress.WP.DiscouragedConstants.TEMPLATEPATHUsageFound

Discouraged WordPress constant usage: TEMPLATEPATH

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
#1MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#2WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#3SendPress Newsletters192,2931,4221k+Output is not escaped
#4AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#5Directorist: AI-Powered Business Directory, Listings & Classified Ads214842,32720k+Non-prefixed global variable
#6BuddyPress WooCommerce My Account Integration. Create WooCommerce Member Pages216681,569800Non-prefixed global variable
#7Wordfence Security – Firewall, Malware Scan, and Login Security211,8933,2925m+Output is not escaped
#8Events Maker by dFactory225888191k+Output is not escaped
#9HeadSpace2 SEO229403603k+Text Domain Mismatch
#10Slim Jetpack222,5861,9472k+Text Domain Mismatch
#11Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#12Coupon Creator236024241k+Output is not escaped
#13MediaPress239045833k+Output is not escaped
#14The Events Calendar233,5193,851600k+Text Domain Mismatch
#15Advanced AJAX Product Filters232,8501,25450k+Text Domain Mismatch
#16A2 Optimized WP – Turbocharge and secure your WordPress site2427123160k+Missing Arg Domain
#17All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#18Event Tickets and Registration243,4094,20490k+Non-prefixed global variable
#19Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress2454032210k+Text Domain Mismatch
#20Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2433887220k+Nonce verification recommended
#21Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers243481,5061k+Nonce verification recommended
#22WPeMatico RSS Feed Fetcher241,38758610k+Output is not escaped
#23BuddyPress Docs252844216k+Nonce verification recommended
#24Front End PM259712,2644k+Non-prefixed global variable
#25Genesis Club Lite25513317900Output is not escaped
#26FV Antispam26332239900Output is not escaped
#27Live Composer – Free WordPress Website Builder261,19642510k+Output is not escaped
#28Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3035326350k+Text Domain Mismatch
#29BuddyPress for LearnDash321902841k+Output is not escaped
#30Download Attachments32691888k+Non-prefixed hook name
#31More Types33227198700Non-prefixed global variable
#32Buckets346876400Output is not escaped
#33PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements341411823k+Missing Translators Comment
#34Advanced Permalinks359476300wp function not compatible with requires wp
#35Amministrazione Trasparente3580461k+Output is not escaped
#36Social Comments by Heateor3528535600Unsafe printing function
#37Issuu PDF Sync3515928900Text Domain Mismatch
#38Custom Post Template37483010k+Output is not escaped
#39PostLinks3810710900Output is not escaped
#40Genesis Dambuster3994673k+Output is not escaped
#41SimpleModal Login395012700Unsafe printing function
#42TW Recent Posts Widget4097141k+Output is not escaped
#43Genesis Featured Page Advanced4120947k+Output is not escaped
#44TW Pagination4190231k+Non Singular String Literal Domain
#45Contact Details4543291k+Non Singular String Literal Text
#46FakerPress526615510k+Non-prefixed global variable
#47ONTRApages5316271k+Output is not escaped
#48Title Toggle for Storefront Theme681693k+Output is not escaped
#49Embed Iframe692562k+wp function not compatible with requires wp
#50Post Template701211400Missing nonce verification