Move timer start earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c23e83e331
commit
5a93597679
|
@ -12,7 +12,6 @@ function gethelp_link($this_file, $helptag) {
|
|||
|
||||
if (!isset($blogID)) $blog_ID=1;
|
||||
if (!isset($debug)) $debug=0;
|
||||
timer_start();
|
||||
|
||||
$dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories WHERE 1=1");
|
||||
foreach ($dogs as $catt) {
|
||||
|
|
|
@ -145,8 +145,6 @@ foreach (array_merge($wpvarstoreset, $more_wpvars) as $wpvar) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($pagenow != 'post.php') { timer_start(); }
|
||||
|
||||
// Update some caches.
|
||||
update_category_cache();
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ if ( !(phpversion() >= '4.1') )
|
|||
|
||||
|
||||
require (ABSPATH . WPINC . '/functions.php');
|
||||
timer_start();
|
||||
require (ABSPATH . WPINC . '/functions-formatting.php');
|
||||
require (ABSPATH . WPINC . '/template-functions.php');
|
||||
require (ABSPATH . WPINC . '/links.php');
|
||||
|
|
Loading…
Reference in New Issue