[wp-trac] [WordPress Trac] #24575: link-template.php does not use canonical capitalized ID column name.
WordPress Trac
noreply at wordpress.org
Fri Jun 14 00:33:17 UTC 2013
#24575: link-template.php does not use canonical capitalized ID column name.
----------------------------+-----------------------------
Reporter: hypertextranch | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: trivial | Keywords: has-patch
----------------------------+-----------------------------
The primary key field of `$wpdb->posts` is `ID` (all caps) however one
query in link-template.php references it as `p.id` this is not an issue
for MySQL as field names are case insensitive however it does not conform
to how it's used elsewhere and poses problems for plugins like
[http://wordpress.org/plugins/postgresql-for-wordpress/ PostgreSQL for
WordPress].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24575>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list