Keep it separated.

git-svn-id: https://develop.svn.wordpress.org/trunk@2045 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-01-04 23:29:13 +00:00
parent 506ed85f60
commit 0f3886534d
1 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ function get_category_rss_link($echo = false, $category_id, $category_nicename)
return $link;
}
function the_category($seperator = '', $parents='') {
function the_category($separator = '', $parents='') {
$categories = get_the_category();
if (empty($categories)) {
_e('Uncategorized');
@ -68,7 +68,7 @@ function the_category($seperator = '', $parents='') {
}
$thelist = '';
if ('' == $seperator) {
if ('' == $separator) {
$thelist .= '<ul class="post-categories">';
foreach ($categories as $category) {
$category->cat_name = $category->cat_name;
@ -97,7 +97,7 @@ function the_category($seperator = '', $parents='') {
$i = 0;
foreach ($categories as $category) {
$category->cat_name = $category->cat_name;
if (0 < $i) $thelist .= $seperator . ' ';
if (0 < $i) $thelist .= $separator . ' ';
switch(strtolower($parents)) {
case 'multiple':
if ($category->category_parent) $thelist .= get_category_parents($category->category_parent, TRUE);