[wp-trac] [WordPress Trac] #19780: Named category functions/docs need cleaning up
WordPress Trac
noreply at wordpress.org
Wed Dec 12 16:20:13 UTC 2012
#19780: Named category functions/docs need cleaning up
--------------------------+------------------------------
Reporter: DrewAPicture | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by Offereins):
I'd prefer this rewrite to taxonomy-agnostic behaviour to be more
complete. Therefor also the filters (like `list_cats`, `wp_list_cats`,
`wp_dropdown_cats`) and the filters in the Walker classes should be
rewritten to a taxonomy-agnostic style. Additionally the `list_cats`
filter in the Walker classes would do great when sending the `$args`
variable as third parameter.
Concerning the `wp_dropdown_terms` and `wp_list_terms` solutions, I'd say
they'd be better off the other way around, as the base of the `category`
functions instead of the wrapper type like it's suggested in 19780.diff.
This would result in `wp_dropdown_categories` being a wrapper for
`wp_dropdown_terms` etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19780#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list