[wp-trac] [WordPress Trac] #12348: Improve default callback for taxonomies categories/post_tag
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 23 15:21:49 UTC 2010
#12348: Improve default callback for taxonomies categories/post_tag
---------------------------+------------------------------------------------
Reporter: momo360modena | Owner: filosofo
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Taxonomy | Version: 3.0
Severity: normal | Keywords: has-patch needs-testing
---------------------------+------------------------------------------------
See patch.
With the new API of taxonomies, one taxonomy can have multiples object
types.
Add the param $taxonomy are now required for custom callback.
The default callback, used for category/post_tag, must be support an array
of object types, because with the function
register_taxonomy_for_object_type(), i can add a another custom object
type to a default taxonomy.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12348>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list