[wp-trac] [WordPress Trac] #41983: Lead by example: pass unquoted placeholders to $wpdb->prepare()
WordPress Trac
noreply at wordpress.org
Tue Sep 26 19:07:32 UTC 2017
#41983: Lead by example: pass unquoted placeholders to $wpdb->prepare()
--------------------------+------------------------------
Reporter: jrf | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by johnjamesjacoby):
* keywords: needs-patch => has-patch
Comment:
> I suggest tagging this as an easy-pick for new contributors.
I love this suggestion, but think the recent scrutiny around this API
means any patch is better than waiting.
Attached patch also includes a PHPDoc fix to the `wpdb::esc_like()`
method.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41983#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list