diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-13 16:52:09 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-13 16:52:09 +0000 |
| commit | 151e726b7bb00a3f46a64bb10c71011bd56dca34 (patch) | |
| tree | dfea07401f0142bf57ef6ce40ae15da645e1a502 /wp-inst/wp-includes/functions.php | |
| parent | 28072f254cf1380fa6334e7adfc659d02eb9e436 (diff) | |
| download | wordpress-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.php | 6 |
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; } |
