From 3fabbf07a6babc63b9a9549c80cf17db4c673c17 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 15 Aug 2007 21:54:02 +0000 Subject: [PATCH] Typo fix git-svn-id: https://develop.svn.wordpress.org/trunk@5872 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 6ee72e7cb2..8948c31d64 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -160,7 +160,7 @@ function in_category( $category ) { // Check if the current post is in the given $categories = get_object_term_cache($post->ID, 'category'); if ( false === $categories ) - $categories = get_object_terms($post->ID, 'category'); + $categories = wp_get_object_terms($post->ID, 'category'); if(array_key_exists($category, $categories)) return true; else