[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 18:52:58 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 close  |
-----------------------------+------------------------------

Comment (by ryan):

 A quick fix would be to save the query string before calling the filter
 and use that with get_col() if the filtered query string is empty.  But,
 who knows what other back compat problems await.  I'd still like to give
 this a go, but I think we have hold off until 3.4 to give plugin authors
 time to test and accommodate.

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


More information about the wp-trac mailing list