id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
11056,More Flexibility in args['post_parent'],miqrogroove,markjaquith,"I am struggling to reduce query count on some of my custom code, and frankly I can't see a way to do it in the existing code base.
One of the stumbling blocks is get_children() relying on the WP_Query::get_posts() restriction for is_numeric($q['post_parent'])
The cost is 3 queries for every call to get_children().
Either I am incredibly dense about how attachment queries are supposed to work, or there needs to be a way to query multiple parents in one call.",enhancement,closed,normal,3.6,Query,,normal,fixed,has-patch commit 3.6-early needs-docs,,