Make WordPress Core

Changeset 2655


Ignore:
Timestamp:
06/20/2005 01:30:39 AM (20 years ago)
Author:
ryan
Message:

Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-category.php

    r2616 r2655  
    243243    if (!isset($r['hierarchical'])) $r['hierarchical'] = true;
    244244
    245     list_cats($r['optionall'], $r['all'], $r['sort_column'], $r['sort_order'], $r['file'],  $r['list'], $r['optiondates'], $r['optioncount'], $r['hide_empty'], $r['use_desc_for_title'], $r['children'], $r['child_of'], $r['categories'], $r['recurse'], $r['feed'], $r['feed_image'], $r['exclude'], $r['hierarchical']);
     245    return list_cats($r['optionall'], $r['all'], $r['sort_column'], $r['sort_order'], $r['file'],   $r['list'], $r['optiondates'], $r['optioncount'], $r['hide_empty'], $r['use_desc_for_title'], $r['children'], $r['child_of'], $r['categories'], $r['recurse'], $r['feed'], $r['feed_image'], $r['exclude'], $r['hierarchical']);
    246246}
    247247
Note: See TracChangeset for help on using the changeset viewer.