mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
Init tweak. No need to prime category cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0e19eed628
commit
46484d14df
@ -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…
x
Reference in New Issue
Block a user