WordPress.DB.PreparedSQLPlaceholders.LikeWithoutWildcards

Like Without Wildcards

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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1LearnPress – WordPress LMS Plugin for Create and Sell Online Courses222,3613,38470k+Non Prefixed Variable Found
#2Swift Performance Lite222,3461,3257k+Text Domain Mismatch
#3FV Flowplayer Video Player231,3111,45420k+Output Not Escaped
#4FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce231,1252,15320k+missing direct file access protection
#5WP Hotel Booking241,2501,5557k+Non Prefixed Variable Found
#6FunnelKit – Funnel Builder for WooCommerce Checkout253,2782,57430k+Text Domain Mismatch
#7TrackShip for WooCommerce254338806k+Non Prefixed Variable Found
#8Transliterator – Multilingual and Multi-script Text Conversion283053203k+Output Not Escaped
#9WP GPX Maps35271004k+Non Prefixed Variable Found
#10Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories4863273100k+Non Prefixed Variable Found