Make WordPress Core


Ignore:
Timestamp:
05/09/2004 05:47:02 AM (21 years ago)
Author:
saxmatt
Message:

Various fixes and cleanups, inspired and pointed out by Joseph Scott.

File:
1 edited

Legend:

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

    r1244 r1245  
    190190        $selected=0, $hide=0) {
    191191    global $tablecategories, $tableposts, $tablepost2cat, $wpdb;
    192     global $pagenow;
    193192    global $querystring_start, $querystring_equal, $querystring_separator;
    194193    if (($file == 'blah') || ($file == '')) $file = get_settings('home') . '/' . get_settings('blogfilename');
     
    261260function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0, $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=FALSE, $child_of=0, $categories=0, $recurse=0, $feed = '', $feed_image = '', $exclude = '') {
    262261    global $tablecategories, $tableposts, $tablepost2cat, $wpdb, $category_posts;
    263     global $pagenow;
    264262    global $querystring_start, $querystring_equal, $querystring_separator;
    265263    // Optiondates now works
     
    384382                $thelist .= "\t$link<br />\n";
    385383            }
    386             if ($children) $thelist .= list_cats($optionall, $all, $sort_column, $sort_order, $file, $list, $optiondates, $optioncount, $hide_empty, $use_desc_for_title, $children, $category->cat_ID, $categories, 1);
     384            if ($children) $thelist .= list_cats($optionall, $all, $sort_column, $sort_order, $file, $list, $optiondates, $optioncount, $hide_empty, $use_desc_for_title, $children, $category->cat_ID, $categories, 1, $feed, $feed_image, $exclude);
    387385            if ($list) $thelist .= "</li>\n";
    388386            }
Note: See TracChangeset for help on using the changeset viewer.