From 36a16fee9468c9dc9c57c72235d7ac72df2fcd2c Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 31 Jan 2005 03:49:50 +0000 Subject: [PATCH] Adding rel tags git-svn-id: https://develop.svn.wordpress.org/trunk@2164 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-category.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 3739ad3cfe..c1b61558ee 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -62,10 +62,10 @@ function the_category($separator = '', $parents='') { if ($category->category_parent) { $thelist .= get_category_parents($category->category_parent, TRUE); } - $thelist .= 'cat_name) . '">'.$category->cat_name.''; + $thelist .= 'cat_name) . '" rel="category tag">'.$category->cat_name.''; break; case 'single': - $thelist .= 'cat_name) . '>'; + $thelist .= 'cat_name) . ' rel="category tag">'; if ($category->category_parent) { $thelist .= get_category_parents($category->category_parent, FALSE); } @@ -73,7 +73,7 @@ function the_category($separator = '', $parents='') { break; case '': default: - $thelist .= 'cat_name) . '">'.$category->cat_name.''; + $thelist .= 'cat_name) . '" rel="category tag">'.$category->cat_name.''; } } $thelist .= ''; @@ -85,16 +85,16 @@ function the_category($separator = '', $parents='') { switch(strtolower($parents)) { case 'multiple': if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, TRUE); - $thelist .= 'cat_name) . '">'.$category->cat_name.''; + $thelist .= 'cat_name) . '" rel="category tag">'.$category->cat_name.''; break; case 'single': - $thelist .= 'cat_name) . '">'; + $thelist .= 'cat_name) . '" rel="category tag">'; if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, FALSE); $thelist .= "$category->cat_name"; break; case '': default: - $thelist .= 'cat_name) . '">'.$category->cat_name.''; + $thelist .= 'cat_name) . '" rel="category tag">'.$category->cat_name.''; } ++$i; }