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)012814010k+Non-prefixed global variable
#2Themify Builder95,3342,1715k+Text Domain Mismatch
#3JetBackup – Backup, Restore & Migrate101,567156200k+Exception output is not escaped
#4404 Solution155821,53210k+Non-prefixed class
#5MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#6RestroPress – Online Food Ordering System175353,2111k+Non-prefixed global variable
#7wpForo Forum174,3063,02620k+Unsafe printing function
#8WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#9Administrator Z182,061799400Output is not escaped
#10Shopping Cart & eCommerce Store188,24018,4783k+Non-prefixed global variable
#11WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#12GiveWP – Donation Plugin and Fundraising Platform193,4023,555100k+Output is not escaped
#13Go Fetch Jobs (for WP Job Manager)191,4101,741600Non-prefixed global variable
#14Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#15Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,993892100k+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 Directory Kit191,5022,6412k+Non-prefixed global variable
#21AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#22Brizy – Page Builder2058572660k+Output is not escaped
#23Broadstreet20434273800Output is not escaped
#24Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC)207362,112900Non-prefixed global variable
#25Download Monitor204231,36780k+Non-prefixed hook name
#26Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More202,8741,9881m+Non-prefixed global variable
#27Event Organiser201,10454420k+Text Domain Mismatch
#28EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#29GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership201,832720700Non Singular String Literal Domain
#30Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+Request data is not unslashed
#31MAS Videos205191,6931k+Non-prefixed global variable
#32Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#33Nimble Page Builder201,5911,68430k+Missing Arg Domain
#34Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#35Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped
#36Restrict User Access – Ultimate Membership & Content Protection209771,84810k+Non-prefixed global variable
#37Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#38Events Manager – OpenStreetMaps20559444600Output is not escaped
#39Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools207873,41630k+Non-prefixed global variable
#40WP Compress – Instant Performance & Speed Optimization204,2923,69110k+Non Singular String Literal Domain
#41Backup Migration219991,08180k+Non-prefixed global variable
#42Forumax – AI Powered Advanced Community Forum Plugin214,9314,352600Text Domain Mismatch
#43Pinpoint Booking System – Version 2216343283k+Missing direct file access protection
#44Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6732,18010k+Direct Query
#45Captcha Them All213003235k+Output is not escaped
#46Spam protection, Honeypot, Anti-Spam by CleanTalk218351,146200k+Missing nonce verification
#47Comet Cache2185724520k+Output is not escaped
#48eRoom – Webinar & Meeting Plugin for Zoom, Google Meet, Microsoft Teams211864378k+Non-prefixed global variable
#49Event Espresso – Event Registration & Ticketing Sales2112,7102,136600Text Domain Mismatch
#50Feeds for YouTube (YouTube video, channel, and gallery plugin)21503995100k+Output is not escaped