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
#5BuddyPress WooCommerce My Account Integration. Create WooCommerce Member Pages216681,569800Non-prefixed global variable
#6Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output is not escaped
#7WP Compress – Instant Performance & Speed Optimization213,3673,25310k+Non Singular String Literal Domain
#8Directorist: AI-Powered Business Directory, Listings & Classified Ads225602,20220k+Non-prefixed global variable
#9Events Maker by dFactory225888191k+Output is not escaped
#10HeadSpace2 SEO229403603k+Text Domain Mismatch
#11RabbitLoader Cache: Optimize your Website for Speed222411632k+Output is not escaped
#12Slim Jetpack222,5861,9472k+Text Domain Mismatch
#13Advanced AJAX Product Filters222,8401,25250k+Text Domain Mismatch
#14Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#15Front End PM239782,2644k+Non-prefixed global variable
#16MediaPress239045834k+Output is not escaped
#17Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider23204324500k+Non-prefixed global variable
#18Issues and Series for Newspapers, Magazines, Publishers, Writers233467102k+Nonce verification recommended
#19The Events Calendar233,5073,850600k+Text Domain Mismatch
#20A2 Optimized WP – Turbocharge and secure your WordPress site2427123160k+Missing Arg Domain
#21All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#22Event Tickets and Registration243,4074,21790k+Non-prefixed global variable
#23Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress2453632210k+Text Domain Mismatch
#24Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#25Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers243611,4831k+Nonce verification recommended
#26WPeMatico RSS Feed Fetcher241,37858710k+Output is not escaped
#27BuddyPress Docs252844217k+Nonce verification recommended
#28Coupon Creator256984121k+Output is not escaped
#29Genesis Club Lite25513317900Output is not escaped
#30FV Antispam26332239900Output is not escaped
#31Live Composer – Free WordPress Website Builder261,21142710k+Output is not escaped
#32WP-DownloadManager265935083k+Unsafe printing function
#33Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3135325350k+Text Domain Mismatch
#34BuddyPress for LearnDash321902841k+Output is not escaped
#35Download Attachments32691888k+Non-prefixed hook name
#36More Types33227198700Non-prefixed global variable
#37PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements331401823k+Missing Translators Comment
#38WP-Stats332311212k+Output is not escaped
#39Buckets346876500Output is not escaped
#40Advanced Permalinks359476400wp function not compatible with requires wp
#41Amministrazione Trasparente3580461k+Output is not escaped
#42Social Comments by Heateor3528535700Unsafe printing function
#43Issuu PDF Sync3515928900Text Domain Mismatch
#44Custom Post Template37483010k+Output is not escaped
#45PostLinks3810710700Output is not escaped
#46WP-CommentNavi386846700Output is not escaped
#47Genesis Dambuster3994673k+Output is not escaped
#48SimpleModal Login395012700Unsafe printing function
#49TW Recent Posts Widget4097141k+Output is not escaped
#50Genesis Featured Page Advanced4120947k+Output is not escaped