mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
4302cb0aee
commit
beca0741ca
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user