Keep it separated.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-01-04 23:29:13 +00:00
parent 5870827adf
commit 40c697b18f
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);