Ticket #21760: term-cache-group.diff

File term-cache-group.diff, 549 bytes (added by wonderboymusic, 4 months ago)
  • tests/post.php

     
    6464                        $this->assertInternalType( 'array', $tcache ); 
    6565                        $this->assertEquals( 2, count( $tcache ) ); 
    6666 
    67                         $tcache = wp_cache_get( $id, "ctax_relationships" ); 
     67                        $tcache = wp_cache_get( $id, term_cache_group( "ctax", "relationships" ) ); 
    6868                        if ( 'cpt' == $post_type ) { 
    6969                                $this->assertInternalType( 'array', $tcache ); 
    7070                                $this->assertEquals( 2, count( $tcache ) );