[wp-trac] Re: [WordPress Trac] #8614: With wp_list_categories child
categories not excluded when parents are excluded
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 23 00:28:44 GMT 2008
#8614: With wp_list_categories child categories not excluded when parents are
excluded
--------------------------+-------------------------------------------------
Reporter: marketingfm | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by jhodgdon):
This change apparently came from [9652]. This line:
if ( $child_of || $hierarchical ) {
was changed to
if ( $child_of ) {
(lines 729/756)
I did verify that if I put that || $hierarchical back in,
wp_list_categories went back to its old behavior.
Hmmm... This came from #8087, which specifically had a reason for putting
that change in.... So someone didn't think through all the consequences...
Not sure how to fix it, if #8087 was a valid bug...
--
Ticket URL: <http://trac.wordpress.org/ticket/8614#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list