Init tweak. No need to prime category cache.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-12-18 22:08:01 +00:00
parent 4302cb0aee
commit beca0741ca

View File

@ -1636,8 +1636,7 @@ class WP {
} }
} }
function prime_caches() { function init() {
update_category_cache();
get_currentuserinfo(); get_currentuserinfo();
} }
@ -1661,8 +1660,8 @@ class WP {
} }
function main($query_args = '') { function main($query_args = '') {
$this->init();
$this->parse_request($query_args); $this->parse_request($query_args);
$this->prime_caches();
$this->send_headers(); $this->send_headers();
$this->query_posts(); $this->query_posts();
$this->handle_404(); $this->handle_404();