[wp-trac] Re: [WordPress Trac] #8214: get_terms should support term descriptions

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 01:52:56 GMT 2009


#8214: get_terms should support term descriptions
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |       Owner:                         
     Type:  enhancement    |      Status:  new                    
 Priority:  normal         |   Milestone:  2.8                    
Component:  Taxonomy       |     Version:                         
 Severity:  normal         |    Keywords:  has-patch needs-testing
---------------------------+------------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:1 filosofo]:
 > Wouldn't it be more useful if the searched-for term could be matched
 anywhere in the description?  The way you have it, whatever
 {{{description__like}}} is set to would have to appear at the beginning of
 the description.

 it does. from a performance standpoint, though, if this gets heavily used
 and an index is used on the description field, it won't be used in the
 query unless it's anchored to the beginning of the string.

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


More information about the wp-trac mailing list