Timeline for How to Use Wildcards in $wpdb Queries Using $wpdb->get_results & $wpdb->prepare?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jul 31, 2018 at 17:06 | history | suggested | CommunityBot | CC BY-SA 4.0 |
Quality and why use prepare and stick a var inside the prepare when it should be a param if its not a string.
|
Jul 31, 2018 at 14:24 | review | Suggested edits | |||
S Jul 31, 2018 at 17:06 | |||||
Mar 24, 2018 at 7:30 | comment | added | Krzysiek Dróżdż | You should use $wpdb->esc_like() in your code. Otherwise the PLUGIN_SLUG can mess it up, if there’s ‘%’ in it. (Probably it won’t, since it’s a slug, but...) | |
Feb 2, 2017 at 21:11 | history | edited | Michael Ecklund | CC BY-SA 3.0 |
added 248 characters in body
|
Oct 8, 2012 at 14:41 | vote | accept | Michael Ecklund | ||
Oct 5, 2012 at 20:37 | history | edited | Michael Ecklund | CC BY-SA 3.0 |
added 1 characters in body
|
Oct 5, 2012 at 20:03 | history | answered | Michael Ecklund | CC BY-SA 3.0 |