Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a token when escaping the add_order_item query. props Jon Cave. #33

Merged
merged 1 commit into from
Sep 30, 2011

Conversation

markjaquith
Copy link
Contributor

It's not enough to just use $wpdb->prepare() — you need to actually use the %s tokens!

markjaquith added a commit that referenced this pull request Sep 30, 2011
Use a token when escaping the add_order_item query. props @joncave
@markjaquith markjaquith merged commit 2a5d731 into woocommerce:master Sep 30, 2011
@mikejolley
Copy link
Member

I feel dirty for missing that :/

Thanks

@genuino2 genuino2 mentioned this pull request Feb 25, 2022
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants