WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

strip tags strip tags

The plugin uses `strip_tags()` where WordPress-specific sanitization is usually clearer.

medium weight

Why It Shows Up

Plugin Check found `strip_tags()` in plugin code.

Why It Matters

`strip_tags()` is blunt and can leave unsafe attribute content or remove markup in ways that do not match WordPress expectations.

How to Fix

  • Use `sanitize_text_field()` for plain text input.
  • Use `wp_kses()` when limited HTML should be allowed.
  • Use context-specific escaping at output time.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1Plugin Check (PCP)012813210k+Exception output is not escaped
#2Themify Builder95,3042,1365k+Text Domain Mismatch
#3JetBackup – Backup, Restore & Migrate101,563149200k+Exception output is not escaped
#4MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#5RestroPress – Online Food Ordering System175243,1551k+Non-prefixed global variable
#6wpForo Forum174,0482,92220k+Unsafe printing function
#7WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#8Property Hive181,9576,0273k+Missing nonce verification
#9Realtyna Organic IDX plugin + WPL Real Estate189303,6362k+Non-prefixed global variable
#10Shopping Cart & eCommerce Store185,37317,4663k+Non-prefixed global variable
#11WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#12Go Fetch Jobs (for WP Job Manager)191,4101,741700Non-prefixed global variable
#13AI Infographic Maker191,383599600Output is not escaped
#14Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#15Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,900877100k+Exception output is not escaped
#16Netgsm193343081k+Setting is missing a sanitization callback
#17Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#18SendPress Newsletters192,2931,4221k+Output is not escaped
#19WP Email Template193443452k+Exception output is not escaped
#20WP Import Export Lite1973797940k+Non-prefixed global variable
#21WP Directory Kit191,5042,6382k+Non-prefixed global variable
#22WPJAM Basic193253464k+Output is not escaped
#23AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#24Brizy – Page Builder2058672670k+Output is not escaped
#25Broadstreet20434273700Output is not escaped
#26Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC)207362,112900Non-prefixed global variable
#27Download Monitor204231,36480k+Non-prefixed hook name
#28Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#29Event Organiser201,10454420k+Text Domain Mismatch
#30GiveWP – Donation Plugin and Fundraising Platform203,4113,559100k+Output is not escaped
#31GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership201,832720700Non Singular String Literal Domain
#32Link Library201,9421,39410k+Unsafe printing function
#33Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+Request data is not unslashed
#34MAS Videos205191,6931k+Non-prefixed global variable
#35Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#36Nimble Page Builder201,5911,68430k+Missing Arg Domain
#37Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#38Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#39Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#40SpeakOut! Email Petitions208509942k+Missing nonce verification
#41Events Manager – OpenStreetMaps20559444700Output is not escaped
#42Razorpay for WooCommerce20975859100k+Non-prefixed function
#43Store Locator WordPress212,4941,62810k+Text Domain Mismatch
#44Backup Migration219811,09380k+Non-prefixed global variable
#45Forumax – AI Powered Advanced Community Forum Plugin214,9364,353600Text Domain Mismatch
#46bbPress219293,672100k+Non-prefixed function
#47Pinpoint Booking System – Version 2216343283k+Missing direct file access protection
#48Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6212,03310k+Direct Query
#49Captcha Them All213003235k+Output is not escaped
#50Comet Cache2185724520k+Output is not escaped