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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 2 23:56:04 UTC 2012


#21760: get_term_by() calls are not cached
----------------------------------------+------------------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Taxonomy                    |     Version:  2.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------------------

Comment (by scribu):

 Also, the patch seems to fail an existing test:

 {{{
 There was 1 failure:

 1) Tests_Term::test_set_object_terms_by_name
 Failed asserting that '1' matches expected 5.

 /home/scribu/svn/wp-tests/tests/term.php:135
 }}}

 Finally, we get some use out of these darn things. :)

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


More information about the wp-trac mailing list