Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make sure existing esc_like() takes precedence#6088

Merged
schlessera merged 9 commits into
mainwp-cli/wp-cli:mainfrom
fix/esc_like-for-sqlitewp-cli/wp-cli:fix/esc_like-for-sqliteCopy head branch name to clipboard
May 5, 2025
Merged

Make sure existing esc_like() takes precedence#6088
schlessera merged 9 commits into
mainwp-cli/wp-cli:mainfrom
fix/esc_like-for-sqlitewp-cli/wp-cli:fix/esc_like-for-sqliteCopy head branch name to clipboard

Conversation

@schlessera

Copy link
Copy Markdown
Member

As described in wp-cli/cache-command#92 (comment), we need to let the existing $wpdb->esc_like() take precedence in order to allow compatibility layers like the SQLite integration plugin to still have a way to override things.

@schlessera schlessera requested a review from a team as a code owner May 5, 2025 19:53
@schlessera schlessera added this to the 2.12.0 milestone May 5, 2025
@codecov

codecov Bot commented May 5, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@schlessera schlessera merged commit 0175f13 into main May 5, 2025
52 checks passed
@schlessera schlessera deleted the fix/esc_like-for-sqlite branch May 5, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.