From 10566f45a467688170cce525c2dc829196a77c04 Mon Sep 17 00:00:00 2001 From: rob1n Date: Wed, 25 Apr 2007 04:41:12 +0000 Subject: [PATCH] Require once only. Props masquerade. fixes #4192 git-svn-id: https://develop.svn.wordpress.org/trunk@5313 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index fb69059757..fee8786b14 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -123,9 +123,9 @@ if ( defined('CUSTOM_USER_META_TABLE') ) $wpdb->usermeta = CUSTOM_USER_META_TABLE; 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 - require (ABSPATH . WPINC . '/cache.php'); + require_once (ABSPATH . WPINC . '/cache.php'); wp_cache_init();