[wp-trac] [WordPress Trac] #42691: WP_Term_Query get_terms generates invalid sql queries

WordPress Trac noreply at wordpress.org
Mon Apr 30 21:20:09 UTC 2018


#42691: WP_Term_Query get_terms generates invalid sql queries
--------------------------+---------------------
 Reporter:  GM_Alex       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.7
Component:  Taxonomy      |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by swissspidy):

 What's the benefit of `WP_Term_Query::populate_terms()` over
 `array_filter( array_map( 'get_term', $terms ) )`?

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


More information about the wp-trac mailing list