Make WordPress Core


Ignore:
Timestamp:
10/28/2014 10:02:59 PM (10 years ago)
Author:
boonebgorges
Message:

Remove call to wp_get_last_changed() from unit tests.

This function was removed in [30073].

See #21760.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term/cache.php

    r29915 r30080  
    189189        $term_id = $this->factory->term->create( array( 'slug' => $slug, 'name' => $name, 'taxonomy' => $taxonomy ) );
    190190
    191         $last_changed = wp_get_last_changed( 'terms' );
     191        $last_changed = wp_cache_get( 'last_changed', 'terms' );
    192192        $group = $taxonomy . ':' . $last_changed;
    193193
Note: See TracChangeset for help on using the changeset viewer.