From 45dec2e4e85c018bf26b9f17bfbd6fda74aad9bb Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 15 May 2010 09:59:15 +0000 Subject: [PATCH] Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333 git-svn-id: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyten/loop.php | 13 ++++++------- wp-includes/category-template.php | 3 +++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php index b47a8fb6ca..3850eb274c 100644 --- a/wp-content/themes/twentyten/loop.php +++ b/wp-content/themes/twentyten/loop.php @@ -112,13 +112,12 @@
- - - '.get_the_category_list( ', ' ) ); - ?> - - | + + + '.get_the_category_list( ', ' ) ); ?> + + | +