Remove call to wp_get_last_changed()
from unit tests.
This function was removed in [30073]. See #21760. git-svn-id: https://develop.svn.wordpress.org/trunk@30080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
233946b852
commit
66e02d639e
@ -188,7 +188,7 @@ class Tests_Term_Cache extends WP_UnitTestCase {
|
||||
|
||||
$term_id = $this->factory->term->create( array( 'slug' => $slug, 'name' => $name, 'taxonomy' => $taxonomy ) );
|
||||
|
||||
$last_changed = wp_get_last_changed( 'terms' );
|
||||
$last_changed = wp_cache_get( 'last_changed', 'terms' );
|
||||
$group = $taxonomy . ':' . $last_changed;
|
||||
|
||||
$term = get_term_by( 'slug', $slug, $taxonomy );
|
||||
|
Loading…
Reference in New Issue
Block a user