[wp-unit-tests] [WordPress Unit Tests] #110: Public functions for cache should be directly tested

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 20 20:19:14 UTC 2012


#110: Public functions for cache should be directly tested
-------------------------+------------------
 Reporter:  tollmanz     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Cache        |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by bananastalktome):

 Actually, good request, as poking around with the {{{wp_cache_*}}}
 functions helped me notice a bug with {{{wp_cache_decr}}}
 (http://core.trac.wordpress.org/ticket/21327) where it will not decrement
 a cache value properly. First pass at a way to solve this without tons of
 duplication, but not sure how standard it is. Thoughts?

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/110#comment:5>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list