[wp-trac] Re: [WordPress Trac] #7701: Don't include current
category or childeren in "Category Parent" dropdown
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 23 01:05:28 GMT 2009
#7701: Don't include current category or childeren in "Category Parent" dropdown
----------------------------+-----------------------------------------------
Reporter: mtekk | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.8
Component: Administration | Version: 2.6.1
Severity: minor | Resolution:
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Comment(by mtekk):
Disregard my last comment, I found the newish exclude_tree option (codex
does not have it documented yet). The other thing is, if hierarchical is
set to true, exclude should work the same as exclude_tree, however the
code seems to not work (this is in the function wp_list_categories). Now,
the only bug in my updated patch is that the hide_empty setting is over
riding the exclude_tree option (the empty children of an excluded category
still end up in the list, a problem is in get_terms I believe).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7701#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list