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 System175343,2071k+Non-prefixed global variable
#7Shopping Cart & eCommerce Store178,03817,4643k+Non-prefixed global variable
#8wpForo Forum174,3063,02620k+Unsafe printing function
#9WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#10Administrator Z182,061799400Output is not escaped
#11Property Hive181,9576,0273k+Missing nonce verification
#12WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#13GiveWP – Donation Plugin and Fundraising Platform193,4133,569100k+Output is not escaped
#14Go Fetch Jobs (for WP Job Manager)191,4101,741700Non-prefixed global variable
#15Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#16Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,975892100k+Exception output is not escaped
#17Netgsm193343081k+Setting is missing a sanitization callback
#18Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#19SendPress Newsletters192,2931,4221k+Output is not escaped
#20WP Email Template193443452k+Exception output is not escaped
#21WP Import Export Lite1973797940k+Non-prefixed global variable
#22WP Directory Kit191,5022,6412k+Non-prefixed global variable
#23AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#24Brizy – Page Builder2058572670k+Output is not escaped
#25Broadstreet20434273800Output 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,36780k+Non-prefixed hook name
#28Ebook Store204051,065700Non-prefixed global variable
#29Event Espresso – Event Registration & Ticketing Sales2012,6982,135600Text Domain Mismatch
#30Event Organiser201,10454420k+Text Domain Mismatch
#31EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#32GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership201,832720700Non Singular String Literal Domain
#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
#39Restrict User Access – Ultimate Membership & Content Protection209771,84810k+Non-prefixed global variable
#40Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF20556543100k+Output is not escaped
#41SpeakOut! Email Petitions208509942k+Missing nonce verification
#42Events Manager – OpenStreetMaps20559444600Output is not escaped
#43WP Compress – Instant Performance & Speed Optimization204,2523,61410k+Non Singular String Literal Domain
#4412 Step Meeting List21149594900Non-prefixed global variable
#45Backup Migration219991,08180k+Non-prefixed global variable
#46Forumax – AI Powered Advanced Community Forum Plugin214,9314,352600Text Domain Mismatch
#47Pinpoint Booking System – Version 2216343283k+Missing direct file access protection
#48Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6522,05810k+Direct Query
#49Captcha Them All213003235k+Output is not escaped
#50Spam protection, Honeypot, Anti-Spam by CleanTalk218331,133200k+Missing nonce verification