[wp-trac] [WordPress Trac] #21400: comment_ID is misspelled in wp_set_wpdb_vars()
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 28 04:17:29 UTC 2012
#21400: comment_ID is misspelled in wp_set_wpdb_vars()
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 3.0
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------
I was doing some serious debugging of query formatting and noticed
comment_ID always being formatted as %s.
Guess why? It's spelled with three (3) Ms = commment_ID in
wp_set_wpdb_vars( ), meaning every insert or update without formatting
explicitly passed is skipping $wpdb->field_types
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21400>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list