Fix warning when installing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1fb181a4eb
commit
6d9989e775
|
@ -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] ) ) {
|
||||
|
|
Loading…
Reference in New Issue