Require once only. Props masquerade. fixes #4192

git-svn-id: https://develop.svn.wordpress.org/trunk@5313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-25 04:41:12 +00:00
parent b724739d74
commit 10566f45a4

View File

@ -123,9 +123,9 @@ if ( defined('CUSTOM_USER_META_TABLE') )
$wpdb->usermeta = CUSTOM_USER_META_TABLE; $wpdb->usermeta = CUSTOM_USER_META_TABLE;
if ( file_exists(ABSPATH . 'wp-content/object-cache.php') ) if ( file_exists(ABSPATH . 'wp-content/object-cache.php') )
require (ABSPATH . 'wp-content/object-cache.php'); require_once (ABSPATH . 'wp-content/object-cache.php');
else else
require (ABSPATH . WPINC . '/cache.php'); require_once (ABSPATH . WPINC . '/cache.php');
wp_cache_init(); wp_cache_init();