Opened 8 years ago
Closed 8 years ago
#38846 closed enhancement (wontfix)
Add `$taxonomy_object` parameter in `registered_taxonomy` action.
Reported by: | Toro_Unit | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | Cc: |
Description
The action registered_taxonomy
receive casted $taxonomy_object now.
Add new parameter for un-casted $taxonomy_object
.
Related #38765
Attachments (1)
Change History (4)
#2
in reply to:
↑ 1
@
8 years ago
Replying to swissspidy:
It would indeed be easy to add this, but one can also just use
get_taxonomy( $taxonomy );
in their callback, which I believe most developers are already using. So there's no real benefit in passing the taxonomy object to the hook.
Sure it is right.
Thanks!
Note: See
TracTickets for help on using
tickets.
It would indeed be easy to add this, but one can also just use
get_taxonomy( $taxonomy );
in their callback, which I believe most developers are already using. So there's no real benefit in passing the taxonomy object to the hook.