[wp-trac] [WordPress Trac] #48166: Cannot create a new CPT when passing NULL to taxonomies
WordPress Trac
noreply at wordpress.org
Tue Oct 1 22:37:10 UTC 2019
#48166: Cannot create a new CPT when passing NULL to taxonomies
-------------------------------+----------------------
Reporter: scarr | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version: 5.2.3
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses:
-------------------------------+----------------------
Changes (by johnbillion):
* keywords: has-patch 2nd-opinion => has-patch
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Agreed. The `$taxonomies` argument for `register_post_type()` is
documented as an array. Passing anything else will result in unexpected
behaviour.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48166#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list