[wp-trac] Re: [WordPress Trac] #5004: Allow Setting The Depth On
wp_list_categories
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 10 19:59:19 GMT 2008
#5004: Allow Setting The Depth On wp_list_categories
---------------------------------------------------+------------------------
Reporter: intoxination | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: category depth has-patch dev-feedback |
---------------------------------------------------+------------------------
Comment (by palamedes):
Hrmm don't have permission to.. okay lets try this;
{{{
diff category-template.php category-template.php.bak
253c253
< 'echo' => 1, 'depth' => 0
---
> 'echo' => 1
292c292
< $depth = $r['depth']; // Walk requested depth (0
being full depth).
---
> $depth = 0; // Walk the full depth.
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/5004#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list