Ticket #21760: term-cache-group.diff
File term-cache-group.diff, 549 bytes (added by , 11 years ago) |
---|
-
tests/post.php
64 64 $this->assertInternalType( 'array', $tcache ); 65 65 $this->assertEquals( 2, count( $tcache ) ); 66 66 67 $tcache = wp_cache_get( $id, "ctax_relationships");67 $tcache = wp_cache_get( $id, term_cache_group( "ctax", "relationships" ) ); 68 68 if ( 'cpt' == $post_type ) { 69 69 $this->assertInternalType( 'array', $tcache ); 70 70 $this->assertEquals( 2, count( $tcache ) );