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

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 14 19:39:11 GMT 2008

#8214: get_terms should support term descriptions
 Reporter:  AaronCampbell            |        Owner:     
     Type:  enhancement              |       Status:  new
 Priority:  normal                   |    Milestone:  2.8
Component:  Taxonomy                 |      Version:     
 Severity:  normal                   |   Resolution:     
 Keywords:  has-patch needs-testing  |  
Comment (by 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.

 Maybe call it instead {{{search__description}}} have it be like this:

 {{{$where .= " AND tt.description LIKE '%{$search__description}%'";}}}

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

More information about the wp-trac mailing list