WordPress.WP.DiscouragedConstants.TEMPLATEPATHUsageFound

TEMPLATEPATHUsage Found

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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#2Wordfence Security – Firewall, Malware Scan, and Login Security211,5922,9735m+Output Not Escaped
#3Directorist: AI-Powered Business Directory, Listings & Classified Ads224432,12920k+Non Prefixed Variable Found
#4Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider22207323500k+Non Prefixed Variable Found
#5Advanced AJAX Product Filters222,6831,20550k+Text Domain Mismatch
#6Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#7Front End PM239782,2645k+Non Prefixed Variable Found
#8MediaPress239045834k+Output Not Escaped
#9The Events Calendar233,5123,848700k+Text Domain Mismatch
#10WP Compress – Instant Performance & Speed Optimization233,0532,38410k+Non Singular String Literal Domain
#11A2 Optimized WP – Turbocharge and secure your WordPress site2427123160k+Missing Arg Domain
#12All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non Prefixed Variable Found
#13Event Tickets and Registration243,4154,21090k+Non Prefixed Variable Found
#14Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress2453632410k+Text Domain Mismatch
#15Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Recommended
#16WPeMatico RSS Feed Fetcher241,37658210k+Output Not Escaped
#17BuddyPress Docs252844217k+Recommended
#18Live Composer – Free WordPress Website Builder251,21642710k+Output Not Escaped
#19Download Attachments32691888k+Non Prefixed Hookname Found
#20Post and Page Builder by BoldGrid – Visual Drag and Drop Editor3234825850k+Output Not Escaped
#21Custom Post Template37483010k+Output Not Escaped
#22Genesis Featured Page Advanced4120947k+Output Not Escaped
#23FakerPress536615210k+Non Prefixed Variable Found