[wp-trac] [WordPress Trac] #38765: Arugment in registered_taxonomy hook is lost.
WordPress Trac
noreply at wordpress.org
Fri Nov 11 22:50:57 UTC 2016
#38765: Arugment in registered_taxonomy hook is lost.
--------------------------+-------------------------
Reporter: Toro_Unit | Owner: swissspidy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-------------------------
Changes (by swissspidy):
* keywords: => needs-patch
* owner: => swissspidy
* status: new => assigned
* milestone: Awaiting Review => 4.7
Comment:
Hey there,
Thanks a ton for your report!
Like in `register_post_type()` we should pass an un-casted
`$taxonomy_object` (of type `WP_Taxonomy`) to the filter instead.
Introduced in #36224 / [38747].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38765#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list