[wp-trac] [WordPress Trac] #30749: get_term() is missing cache in some cases

WordPress Trac noreply at wordpress.org
Wed Dec 17 16:38:46 UTC 2014


#30749: get_term() is missing cache in some cases
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Taxonomy      |     Version:
 Severity:  blocker       |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"30954"]:
 {{{
 #!CommitTicketReference repository="" revision="30954"
 Update individual term caches in `get_terms()`.

 This was removed in [29915] as part of the attempt to add cache support to
 `get_term_by()`. When that support was removed in [30900], it was not
 properly
 restored.

 This changeset includes a unit test to verify that the cache is properly
 primed
 for terms found in `get_terms()`, as well as tests to verify the other
 cache
 setting that was touched by [30900].

 Fixes #30749. See #21760.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30749#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list