Opened 16 years ago
Closed 16 years ago
#12348 closed enhancement (fixed)
Improve default callback for taxonomies categories/post_tag
| Reported by: | momo360modena | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Taxonomy | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks good.