[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached

WordPress Trac noreply at wordpress.org
Tue Oct 28 21:04:54 UTC 2014


#21760: get_term_by() calls are not cached
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.1
Component:  Taxonomy        |     Version:  2.3
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30073"]:
 {{{
 #!CommitTicketReference repository="" revision="30073"
 Adjust caching for `get_term_by()` calls:

 * Remove md5 hashes for term name cache keys
 * Remove the namespace for the keys for `names` and `slugs` and add them
 to the group names
 * Remove `wp_get_last_changed()`, which @nacin hated

 Props tollmanz.
 Fixes #21760.
 }}}

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


More information about the wp-trac mailing list