From a9af3f7f7107fa4e8f8ef9713e3170bf26ffd6b8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 25 Feb 2009 23:16:34 +0000 Subject: [PATCH] Use get_transient() for update_themes. git-svn-id: https://develop.svn.wordpress.org/trunk@10648 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/themes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 7448245da2..d9e7c3b385 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -74,7 +74,7 @@ $themes = array_slice( $themes, $start, $per_page ); function theme_update_available( $theme ) { static $themes_update; if ( !isset($themes_update) ) - $themes_update = get_option('update_themes'); + $themes_update = get_transient('update_themes'); if ( is_object($theme) && isset($theme->stylesheet) ) $stylesheet = $theme->stylesheet;