mirror of
git://develop.git.wordpress.org/
synced 2025-01-31 12:29:09 +01:00
Move timer start earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@1441 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
706b9537f2
commit
0755d0c706
@ -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…
x
Reference in New Issue
Block a user