Opened 15 years ago
Closed 15 years ago
#12348 closed enhancement (fixed)
Improve default callback for taxonomies categories/post_tag
Reported by: | momo360modena | Owned by: | dd32 |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Taxonomy | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks good.