Typo in [4790] caught by Znuff. fixes #3644
git-svn-id: https://develop.svn.wordpress.org/trunk@4795 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4fc12f7967
commit
a6a04bb76f
@ -101,17 +101,17 @@ function get_the_category_list($separator = '', $parents='') {
|
|||||||
case 'multiple':
|
case 'multiple':
|
||||||
if ($category->category_parent)
|
if ($category->category_parent)
|
||||||
$thelist .= get_category_parents($category->category_parent, TRUE);
|
$thelist .= get_category_parents($category->category_parent, TRUE);
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">' . $category->cat_name.'</a></li>';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a></li>';
|
||||||
break;
|
break;
|
||||||
case 'single':
|
case 'single':
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>';
|
||||||
if ($category->category_parent)
|
if ($category->category_parent)
|
||||||
$thelist .= get_category_parents($category->category_parent, FALSE);
|
$thelist .= get_category_parents($category->category_parent, FALSE);
|
||||||
$thelist .= $category->cat_name.'</a></li>';
|
$thelist .= $category->cat_name.'</a></li>';
|
||||||
break;
|
break;
|
||||||
case '':
|
case '':
|
||||||
default:
|
default:
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">' . $category->cat_name.'</a></li>';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a></li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$thelist .= '</ul>';
|
$thelist .= '</ul>';
|
||||||
@ -124,17 +124,17 @@ function get_the_category_list($separator = '', $parents='') {
|
|||||||
case 'multiple':
|
case 'multiple':
|
||||||
if ( $category->category_parent )
|
if ( $category->category_parent )
|
||||||
$thelist .= get_category_parents($category->category_parent, TRUE);
|
$thelist .= get_category_parents($category->category_parent, TRUE);
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">' . $category->cat_name.'</a>';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a>';
|
||||||
break;
|
break;
|
||||||
case 'single':
|
case 'single':
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>';
|
||||||
if ( $category->category_parent )
|
if ( $category->category_parent )
|
||||||
$thelist .= get_category_parents($category->category_parent, FALSE);
|
$thelist .= get_category_parents($category->category_parent, FALSE);
|
||||||
$thelist .= "$category->cat_name</a>";
|
$thelist .= "$category->cat_name</a>";
|
||||||
break;
|
break;
|
||||||
case '':
|
case '':
|
||||||
default:
|
default:
|
||||||
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '">' . $category->cat_name.'</a>';
|
$thelist .= '<a href="' . get_category_link($category->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" ' . $rel . '>' . $category->cat_name.'</a>';
|
||||||
}
|
}
|
||||||
++$i;
|
++$i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user