From 83fc5c942e9ad30ff6eaccde93520365f820773d Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 20 Apr 2004 23:03:09 +0000 Subject: [PATCH] A few typos. git-svn-id: https://develop.svn.wordpress.org/trunk@1109 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 .= '