Move timer start earlier.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-06-19 17:04:18 +00:00
parent c23e83e331
commit 5a93597679
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');