[wp-trac] [WordPress Trac] #20193: wp_post_mime_type_where does not properly prefix table names
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 30 13:08:14 UTC 2012
#20193: wp_post_mime_type_where does not properly prefix table names
--------------------------+---------------------
Reporter: benbalter | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4
Component: Media | Version: 3.4
Severity: minor | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [20325]:
{{{
#!CommitTicketReference repository="" revision="20325"
Always pass a table alias to wp_post_mime_type_where(). Prevents ambiguous
queries when adding joins later on. props benbalter, fixes #20193.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20193#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list