Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: http://svn.automattic.com/wordpress/trunk@3540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec22fc85b3
commit
96ee80d399
|
@ -48,7 +48,6 @@ function get_the_category_list($separator = '', $parents='') {
|
|||
if ( '' == $separator ) {
|
||||
$thelist .= '<ul class="post-categories">';
|
||||
foreach ( $categories as $category ) {
|
||||
$category->cat_name = $category->cat_name;
|
||||
$thelist .= "\n\t<li>";
|
||||
switch ( strtolower($parents) ) {
|
||||
case 'multiple':
|
||||
|
@ -71,7 +70,6 @@ function get_the_category_list($separator = '', $parents='') {
|
|||
} else {
|
||||
$i = 0;
|
||||
foreach ( $categories as $category ) {
|
||||
$category->cat_name = $category->cat_name;
|
||||
if ( 0 < $i )
|
||||
$thelist .= $separator . ' ';
|
||||
switch ( strtolower($parents) ) {
|
||||
|
|
Loading…
Reference in New Issue