From fc932087d46b0e62b1235c13b50ed20b9bd1690e Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 20 Apr 2004 23:03:09 +0000 Subject: [PATCH] A few typos. git-svn-id: http://svn.automattic.com/wordpress/trunk@1109 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/template-functions-category.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index fd4b6ca38b..5731164660 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -412,7 +412,7 @@ function get_commentdata($comment_ID,$no_cache=0,$include_unapproved=false) { // function get_catname($cat_ID) { global $tablecategories, $cache_catnames, $wpdb; - if ( !$cache_catnames) ) { + if ( !$cache_catnames ) { $results = $wpdb->get_results("SELECT * FROM $tablecategories") or die('Oops, couldn\'t query the db for categories.'); foreach ($results as $post) { $cache_catnames[$post->cat_ID] = $post->cat_name; diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index fedc2e3afc..2eec919c45 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -113,7 +113,7 @@ function the_category_rss($type = 'rss') { function get_the_category_by_ID($cat_ID) { global $tablecategories, $cache_categories, $wpdb; - if ( !$cache_categories[$cat_ID]) ) { + if ( !$cache_categories[$cat_ID] ) { $cat_name = $wpdb->get_var("SELECT cat_name FROM $tablecategories WHERE cat_ID = '$cat_ID'"); $cache_categories[$cat_ID]->cat_name = $cat_name; } else { @@ -330,7 +330,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $link .= '