Another ambiguous column in query.php method get_posts()
|Reported by:||voxpelli||Owned by:|
In the latest trunk the line 931 in query.php should be:
$where .= " AND ($wpdb->posts.ID = '$reqpage')";
This bug also exists in v2.5.1
Background: A plugin of mine uses the filters posts_fields, posts_where and post_join and the field ID exists in the joined table which today will cause the query to fail because it writes (ID = '53') in the where-clause which confuses MySQL - it should be (wp_posts.ID = '53').