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;
}