[wp-trac] [WordPress Trac] #20193: wp_post_mime_type_where does not properly prefix table names

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 17:24:41 UTC 2012


#20193: wp_post_mime_type_where does not properly prefix table names
--------------------------+------------------
 Reporter:  benbalter     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Media         |     Version:  3.4
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback 2nd-opinion => has-patch
 * milestone:  Awaiting Review => 3.4


Comment:

 Looks like this came in with [14478]. Rather than changing how the
 function works, we should probably just always pass $wpdb->posts in
 query.php.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20193#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list