[wp-trac] [WordPress Trac] #41246: Filter to short circuit term query 'terms_pre_query'

WordPress Trac noreply at wordpress.org
Mon Jan 7 15:00:06 UTC 2019


#41246: Filter to short circuit term query 'terms_pre_query'
-------------------------+-----------------------------
 Reporter:  jarocks      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Taxonomy     |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by adamsilverstein):

 Thanks @spacedmonkey this looks good to me.

 @boonebgorges when you have a chance, can you review
 [attachment:"41246.2.diff"] and the code path in `get_terms`. As. This
 looks good to me, however I'm uncertain whether we need to be concerned
 about priming caches with returned data or updating term counts.

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


More information about the wp-trac mailing list