From 8bab50a6496c8739a19babd7abc4a9aadb818cf6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 27 Feb 2009 19:21:41 +0000 Subject: [PATCH] Fix inverted login in get_transient(). git-svn-id: https://develop.svn.wordpress.org/trunk@10665 602fd350-edb4-49c9-b593-d223f7449a82 --- 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;