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

WordPress Trac noreply at wordpress.org
Thu Sep 5 17:11:41 UTC 2013


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

 * keywords:  has-patch commit => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 [25162] causes a database error if an include or exclude argument is not
 empty, but is also not really a term id. [attachment:11823.4.diff]
 addresses that.

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


More information about the wp-trac mailing list