From 268d39dce7d69cfc407a77c2c4aea8e7d8afa4f0 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 7 Feb 2010 16:51:35 +0000 Subject: [PATCH] Fix warning when installing. git-svn-id: https://develop.svn.wordpress.org/trunk@13013 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 4595ed9c67..c452fb08c2 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -673,8 +673,8 @@ function get_transient($transient) { if ( $_wp_using_ext_object_cache ) { $value = wp_cache_get($transient, 'transient'); } else { + $transient_option = '_transient_' . esc_sql($transient); if ( ! defined( 'WP_INSTALLING' ) ) { - $transient_option = '_transient_' . esc_sql($transient); // If option is not in alloptions, it is not autoloaded and thus has a timeout $alloptions = wp_load_alloptions(); if ( !isset( $alloptions[$transient_option] ) ) {