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

WordPress Trac noreply at wordpress.org
Wed Sep 4 19:40:17 UTC 2013


#8214: get_terms should support term descriptions
---------------------------+-----------------------------
 Reporter:  AaronCampbell  |       Owner:  wonderboymusic
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  3.7
Component:  Taxonomy       |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |
---------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"25241"]:
 {{{
 #!CommitTicketReference repository="" revision="25241"
 Introduce `description__like` arg to `get_terms()`. Make
 `description__like` and `name__like` perform `LIKE`s with a wildcard on
 both sides of passed string. Previously, strings had to match the
 beginning of the name, so searching for `burrito` in `This is a burrito`
 would fail. Adds unit tests.

 Props aaroncampbell for the original patch, 5 years ago.
 Fixes #8214.
 }}}

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


More information about the wp-trac mailing list