From 46484d14df106587186af1e7f9883fc36bebc3d6 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 18 Dec 2005 22:08:01 +0000 Subject: [PATCH] Init tweak. No need to prime category cache. git-svn-id: https://develop.svn.wordpress.org/trunk@3327 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/classes.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index e97c87ca9c..8589460d66 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -1636,8 +1636,7 @@ class WP { } } - function prime_caches() { - update_category_cache(); + function init() { get_currentuserinfo(); } @@ -1661,8 +1660,8 @@ class WP { } function main($query_args = '') { + $this->init(); $this->parse_request($query_args); - $this->prime_caches(); $this->send_headers(); $this->query_posts(); $this->handle_404();