[wp-trac] [WordPress Trac] #37038: WP_Tax_Query needs caching

WordPress Trac noreply at wordpress.org
Sat Jun 11 11:14:51 UTC 2016


#37038: WP_Tax_Query needs caching
------------------------------------------+-----------------------------
 Reporter:  spacedmonkey                  |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Query                         |     Version:  3.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-unit-tests needs-patch  |     Focuses:  performance
------------------------------------------+-----------------------------

Comment (by spacedmonkey):

 I updated the patch after the commit in 37683. This patch now get the
 whole wp_term object and pluck out the field it needs. It is nicer way of
 doing it and it primes the WP_Term object in cache / memory. It is likely
 that the object will be used down the line.

 I think we should use this ticket to continue the work on this caching and
 close the others. Sorry I didn't spot those tickets before :(

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37038#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list