[wp-trac] [WordPress Trac] #11823: Improve SQL query used by get_terms()

WordPress Trac noreply at wordpress.org
Thu Aug 29 16:23:31 UTC 2013


#11823: Improve SQL query used by get_terms()
------------------------------+-----------------------
 Reporter:  sirzooro          |       Owner:  filosofo
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.7
Component:  Taxonomy          |     Version:  3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+-----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25162"]:
 {{{
 #!CommitTicketReference repository="" revision="25162"
 Improve the include / exclude SQL generation in `get_terms()` by using
 `IN` and `NOT IN` where applicable. Adds unit tests for include / exclude.

 Props sirzooro, duck_.

 Fixes #11823.
 }}}

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


More information about the wp-trac mailing list