[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 3 18:03:27 UTC 2012
#18536: Improve performance of WP_Query core
-------------------------------------------+------------------
Reporter: cheald | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: early has-patch needs-testing |
-------------------------------------------+------------------
Changes (by scribu):
* keywords: early has-patch commit needs-testing => early has-patch needs-
testing
Comment:
Replying to [comment:58 jeffstieler]:
> It would be difficult to check for fields after this filter.. should we
expect a filter on `'posts_request'` to know the pitfalls and modify the
query accordingly so it can still be optimized?
I think so. Using posts_request is inherently fragile, so the code in
question should be very resilient.
On the other hand, maybe it's worth introducing an 'expand_ids' query var
that forces {{{$expand_ids = false}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:59>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list