WordPress.DB.PreparedSQLPlaceholders.LikeWildcardsInQueryWithPlaceholder

Like Wildcards In Query With Placeholder

A SQL query is built in a way that Plugin Check cannot verify as safely prepared.

critical weight

Why It Shows Up

The scan found missing, incorrect, quoted, unsupported, or mismatched SQL placeholders around `$wpdb->prepare()` usage.

Why It Matters

Broken preparation can leave dynamic SQL values unsafe or make queries behave differently than intended.

How to Fix

  • Keep placeholders in the SQL string and pass dynamic values as separate arguments.
  • Use the placeholder that matches the value type.
  • Do not quote placeholders manually, and use allowlists for identifiers or SQL fragments.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1SendPress Newsletters192,2931,4222k+Output is not escaped
#2Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#3WPScan – WordPress Security Scanner215272658k+Text Domain Mismatch
#4Knowledge Base documentation & wiki plugin – BasePress Docs226711,7672k+Non-prefixed global variable
#5Business Directory Plugin – Easy Listing Directories for WordPress236111,05810k+Non-prefixed global variable
#6GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress233,6622,97110k+Output is not escaped
#7IP Geo Block233995899k+Output is not escaped
#8Restaurant Menu and Food Ordering233858532k+Non-prefixed global variable
#9Seriously Simple Podcasting2354862730k+Non-prefixed hook name
#10Media Library Folders2488980710k+Text Domain Mismatch
#11Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#12Pz-LinkCard249511,58120k+Non-prefixed global variable
#13Spotlight Social Feeds – Block, Shortcode, and Widget2441114760k+Output is not escaped
#14Online Scheduling and Appointment Booking System – Bookly253,52887060k+Text Domain Mismatch
#15Logo Slider – Logo Showcase, Logo Carousel, Logo Gallery and Client Logo Presentation2578931330k+Text Domain Mismatch
#16IP Location Block2552162410k+Output is not escaped
#17SEO Plugin by Squirrly SEO251,13022240k+Missing Translators Comment
#18MaxGalleria272785672k+Non-prefixed global variable
#19ووکامرس فارسی2815721590k+Output is not escaped
#20Advanced Shipping Rates for WooCommerce: Flexible Table Rate Shipping Rules291855042k+Non-prefixed global variable
#21WP Inventory Manager308562331k+Output is not escaped
#22Cooked – Recipe Management324622753k+Output is not escaped
#23MapPress Maps for WordPress3269413330k+Missing Arg Domain
#24Related Posts for WordPress3520718010k+Output is not escaped
#25Decent Comments3893282k+Output is not escaped
#26Zippy4043319k+Output is not escaped
#27Gelato Integration for WooCommerce4236325k+Output is not escaped
#28Search by SKU for Woocommerce69131010k+Direct Query
#29Vanilla PDF Embed85833k+parse url parse url