[wp-trac] [WordPress Trac] #39308: Invalid taxonomy error in WP 4.7
WordPress Trac
noreply at wordpress.org
Fri Dec 16 17:58:36 UTC 2016
#39308: Invalid taxonomy error in WP 4.7
-------------------------------+------------------------------
Reporter: wpfo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.7
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):
* keywords: has-patch => reporter-feedback
Comment:
Hey there,
Thanks for your report.
It's worth noting that the `name` is being set in the constructor
(`WP_Taxonomy::__construct()`). There's no need to set it again in
`WP_Taxonomy::set_props()` because it's already there. If there's a
problem it's probably somewhere else.
It's worth noting that the 'More Taxonomies' plugin hasn't been updated in
over 5 years and directly modifies the `$wp_taxonomies` global. Are there
any other plugins where this happens? Some sample code to reproduce would
be nice.
Ps. The `has-patch` keyword is only for when there's a patch file attached
to a ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39308#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list