[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 14 19:24:28 UTC 2011
#18536: Improve performance of WP_Query core
-------------------------+------------------------------
Reporter: cheald | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by ryan):
Replying to [comment:13 scribu]:
> So this is basically what was suggested in #10964 i.e. split the query
in two, right?
Yes. That ticket is all over the place though.
If there's a hook registered for posts_request, then don't do the
expand_ids block. Create two new request filters for the two queries in
the expand_ids block. That way plugins have a clear way forward. Sort of
like Denis' suggestion in 10964, but I think new filters will handle back
compat better than adding a flag to posts_request.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list