From b3d3d731ac0fba5a6967fca754386fa3f80c88b6 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: http://svn.automattic.com/wordpress/trunk@5313 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index fb6905975..fee8786b1 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();