summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-13 16:52:09 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-07-13 16:52:09 +0000
commit151e726b7bb00a3f46a64bb10c71011bd56dca34 (patch)
treedfea07401f0142bf57ef6ce40ae15da645e1a502 /wp-inst/wp-includes/functions.php
parent28072f254cf1380fa6334e7adfc659d02eb9e436 (diff)
downloadwordpress-mu-151e726b7bb00a3f46a64bb10c71011bd56dca34.tar.gz
wordpress-mu-151e726b7bb00a3f46a64bb10c71011bd56dca34.tar.xz
wordpress-mu-151e726b7bb00a3f46a64bb10c71011bd56dca34.zip
Merge from WP Core, things are broken right now.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@20 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index af027d7..7afec8c 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -1219,10 +1219,10 @@ function update_post_caches(&$posts) {
function update_category_cache() {
global $cache_categories, $wpdb;
if($dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories")):
- foreach ($dogs as $catt)
- $cache_categories[$catt->cat_ID] = $catt;
+ foreach ($dogs as $catt)
+ $cache_categories[$catt->cat_ID] = $catt;
return true;
- else:
+ else :
return false;
endif;
}