From ef0b5afe24472f8302cf87ae6714a714704f6dc5 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 25 Feb 2009 23:16:34 +0000 Subject: [PATCH] Use get_transient() for update_themes. git-svn-id: http://svn.automattic.com/wordpress/trunk@10648 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 7448245da..d9e7c3b38 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;