[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 00:25:50 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):
Ok, we're using wp_dropdown_categories for the dropdown, but there is no
exclude being used at the moment to exclude the current category. That's
the first problem, and it's easily fixable, see my patch 7701-edit-
category-form.php.diff. The second part is we probably should have
wp_dropdown_categories exclude the children of categories that have been
excluded.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7701#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list