Fix warning when installing.

git-svn-id: https://develop.svn.wordpress.org/trunk@13013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-02-07 16:51:35 +00:00
parent 82e3b2f8f4
commit 268d39dce7
1 changed files with 1 additions and 1 deletions

View File

@ -673,8 +673,8 @@ function get_transient($transient) {
if ( $_wp_using_ext_object_cache ) {
$value = wp_cache_get($transient, 'transient');
} else {
if ( ! defined( 'WP_INSTALLING' ) ) {
$transient_option = '_transient_' . esc_sql($transient);
if ( ! defined( 'WP_INSTALLING' ) ) {
// If option is not in alloptions, it is not autoloaded and thus has a timeout
$alloptions = wp_load_alloptions();
if ( !isset( $alloptions[$transient_option] ) ) {