From b8d8a346d5380adae6b8fd3d6a748a263b39bff0 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 27 Feb 2009 19:21:41 +0000 Subject: [PATCH] Fix inverted login in get_transient(). git-svn-id: http://svn.automattic.com/wordpress/trunk@10665 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 00cad7ec05..76065af0aa 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -669,7 +669,7 @@ function get_transient($transient) { $alloptions = wp_load_alloptions(); if ( !isset( $alloptions[$transient_option] ) ) { $transient_timeout = '_transient_timeout_' . $wpdb->escape($transient); - if ( get_option($transient_timeout) > time() ) { + if ( get_option($transient_timeout) < time() ) { delete_option($transient_option); delete_option($transient_timeout); return false;