Move timer start earlier.

git-svn-id: https://develop.svn.wordpress.org/trunk@1441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-06-19 17:04:18 +00:00
parent 706b9537f2
commit 0755d0c706
3 changed files with 1 additions and 3 deletions

View File

@ -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) {

View File

@ -145,8 +145,6 @@ foreach (array_merge($wpvarstoreset, $more_wpvars) as $wpvar) {
}
}
if ($pagenow != 'post.php') { timer_start(); }
// Update some caches.
update_category_cache();

View File

@ -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');